Exemple #1
0
 public ChannelLogger(ChannelLoggerOptions options, IServiceProvider services, LogMessageChannel channel, string category)
 {
     _options  = options;
     _services = services;
     _channel  = channel;
     _category = category;
 }
Exemple #2
0
 public LogMessageReader(IServiceProvider services, LogMessageChannel channel, IOptionsMonitor <AspNetCoreHostOptions> monitor)
 {
     _options  = monitor.CurrentValue;
     _services = services;
     _channel  = channel;
 }
Exemple #3
0
 public ChannelLoggerProvider(LogMessageChannel channel, IServiceProvider services, IOptionsMonitor <ChannelLoggerOptions> monitor)
 {
     _channel  = channel;
     _services = services;
     _options  = monitor.CurrentValue;
 }