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
{{ message }}
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
Will you react to changes in the underlying configuration system?
My desired scenario: Configuration is loaded from an external system like Consul. I want to be able to change the logging configuration in-flight without having to restart the application.
void AddProvider(string providerName, ILoggerProvider provider)
toLoggerFactory
LoggerFactory(IConfiguration config)
will be the way to add configuration to our factorytypeof(type).FullName
AddProvider
wins always- [ ] Remove ability to callAddProvider
whenever you want, only allowed during startupAddConsole(this ILoggerFactory factory, IConfiguration configuration)
Figure this out:
void AddProvider(ILoggerProvider provider)
onILoggerFactory
Stretch goal:
AddFilter(string providerName, Func<string, LogLevel, bool> filter)
toLoggerFactory
AddFilter
is additiveThe text was updated successfully, but these errors were encountered: