public ColorfulConsoleLoggerProvider(
     IOptionsMonitor <ColorfulConsoleLoggerConfiguration> config)
 {
     _currentConfig = config.CurrentValue;
     _onChangeToken = config.OnChange(updatedConfig => _currentConfig = updatedConfig);
 }
Esempio n. 2
0
 public ColorfulConsoleLogger(string name, ColorfulConsoleLoggerConfiguration config)
 {
     _name   = name;
     _config = config;
 }