Open
Description
Hello,
I would like to ask, what is the reason for this line
The thing is that I would like to use dotnet configuration for serilog as well, i.e. something like this
"Logging": {
"LogLevel": {
"Default": "None"
},
"Serilog": {
"LogLevel": {
"Default": "Warning"
}
}
}
But that line creates a rule that overwrites the logging configuration.
What is a proper way to use serilog with dotnet configuration rules? Should I simply avoid using AddSerilog
method and call builder.AddProvider(new SerilogLoggerProvider(logger))
instead?
Metadata
Metadata
Assignees
Labels
No labels