public ChannelLogger(ChannelLoggerOptions options, IServiceProvider services, LogMessageChannel channel, string category) { _options = options; _services = services; _channel = channel; _category = category; }
public ChannelLoggerProvider(LogMessageChannel channel, IServiceProvider services, IOptionsMonitor <ChannelLoggerOptions> monitor) { _channel = channel; _services = services; _options = monitor.CurrentValue; }