We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a Override in MinimumLevel like Serilog
services.AddLogging(configure => { configure.ClearProviders(); configure.AddSpectreConsole(options => { options.SetMinimumLevel(LogLevel.Information); options.MinimumLevel.Override("Microsoft", LogEventLevel.Error); options.MinimumLevel.Override("System", LogEventLevel.Error); options.MinimumLevel.Override("System.Net.Http.HttpClient", LogEventLevel.Warning); options.UseSerilogConsoleStyle(); }); configure.AddSerilog(Log.Logger, true); }
The text was updated successfully, but these errors were encountered:
Add level override support, #32
73b0b44
Dev release
Sorry, something went wrong.
daningalla
No branches or pull requests
Create a Override in MinimumLevel like Serilog
The text was updated successfully, but these errors were encountered: