public Logger(string host, string name, Func <string, LogLevel, bool> filter, LoggerProcessor processor) { _host = host; _name = name; _filter = filter; _processor = processor; }
public LoggerProvider(IOptions <LoggerOptions> options, IEventBus eventBus, LoggerProcessor processor) { _eventBus = eventBus; _options = options.Value; _processor = processor; _loggers = new ConcurrentDictionary <string, Logger>(); _filter = GetFilter(_options.LogLevel); AddEventInfoToEventBus(); }