You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i'm using you nuget package with Blazor 0.4. I've encountered a strange behaviour.
In Program.cs, // Add Blazor.Extensions.Logging.BrowserConsoleLogger services.AddLogging(builder => builder .AddBrowserConsole() // Register the logger with the ILoggerBuilder .SetMinimumLevel(LogLevel.Trace) // Set the minimum log level to Information );
Then i injected logger in an hypothetical BlazorComponent: [Inject] private ILogger<IndexComponent> _logger { get; set; }
This is not an issue with the logger, if you check in Edge or Firefox it just works.
The reason why you are not seeing it in Chrome is that from Chromium 58 the output of this method only appears when level Verbose is selected in the DevTools.
Hi, i'm using you nuget package with Blazor 0.4. I've encountered a strange behaviour.
In Program.cs,
// Add Blazor.Extensions.Logging.BrowserConsoleLogger services.AddLogging(builder => builder .AddBrowserConsole() // Register the logger with the ILoggerBuilder .SetMinimumLevel(LogLevel.Trace) // Set the minimum log level to Information );
Then i injected logger in an hypothetical BlazorComponent:
[Inject] private ILogger<IndexComponent> _logger { get; set; }
Somewhere in a click triggered method:
The message associated with logger.LogDebug is never printed in browser console.
Tested on Chrome Windows Version 67.0.3396.87 (Build officiel) (64 bits)
Thanks.
The text was updated successfully, but these errors were encountered: