-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
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
Add a callback on the reader options to expose the log level switches #352
Conversation
@0xced fyi i took the liberty of resolving a conflict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Added some minor comments :-)
src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationReaderOptions.cs
Outdated
Show resolved
Hide resolved
} | ||
|
||
public void AddFilterSwitch(string filterSwitchName, LoggingFilterSwitchProxy filterSwitch) | ||
public string AddFilterSwitch(string filterSwitchName, LoggingFilterSwitchProxy filterSwitch) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The result of this method is not used. Is it specially done?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was done in anticipation of #366 where the result is now used.
Just like it was done for log level switches in serilog#352.
Just like it was done for log level switches in serilog#352.
Just like it was done for log level switches in serilog#352.
Fixes #206