mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Exclude Information level logs from Spectre output
This commit is contained in:
@@ -34,6 +34,7 @@ public class LoggingInterceptor : ICommandInterceptor
|
||||
LoggerConfiguration loggerConfig = new LoggerConfiguration().MinimumLevel.ControlledBy(_levelSwitch)
|
||||
.Enrich.FromLogContext()
|
||||
.WriteTo.Logger(lc => lc
|
||||
.Filter.ByExcluding(e => e.Level == LogEventLevel.Information)
|
||||
.WriteTo.Spectre(renderTextAsMarkup: true)
|
||||
.WriteTo.Sentry(o =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user