BlazorExtensions / Logging

Microsoft Extension Logging implementation for Blazor
MIT License
215 stars 32 forks source link

Expose ILoggingProvider #42

Closed tylerhartwig closed 3 years ago

tylerhartwig commented 5 years ago

I've been trying to add logging for my SignalR client, and after reading documentation found that you are supposed to do it by adding a logging provider.

This library hides it's ILoggerProvider, why?

I've added this class for SignalR logging via reflection for now, but is there harm in making this class public?

attilah commented 4 years ago

You'd like to see BrowserConsoleLoggerProvider exposed?

tylerhartwig commented 4 years ago

This is correct

galvesribeiro commented 3 years ago

Sorry but I don't understand why you need access to the concrete browser console implementation.

If you want to add it anywhere all you need to do is to get the ILoggerProvider interface.

In all cases, if that was supposed to be used on Blazor.SignalR, that repo was archived since there is an official client.

I'm going to close this issue since there is nothing needed to be done.