public RollingFileLoggerProvider(IOptionsMonitor <RollingFileLoggerOptions> options) { _options = options; _processor = new RollingFileLoggerProcessor(); _loggers = new ConcurrentDictionary <string, RollingFileLogger>(); ReloadLoggerOptions(options.CurrentValue); _optionsReloadToken = _options.OnChange(ReloadLoggerOptions); }
internal RollingFileLogger(string categoryName, RollingFileLoggerProcessor loggerProcessor) { _categoryName = categoryName; _loggerProcessor = loggerProcessor; }