1 write to _options
Microsoft.Extensions.Logging.Console (1)
ConsoleLoggerProvider.cs (1)
43
_options
= options;
7 references to _options
Microsoft.Extensions.Logging.Console (7)
ConsoleLoggerProvider.cs (7)
65
_optionsReloadToken =
_options
.OnChange(ReloadLoggerOptions);
155
if (
_options
.CurrentValue.FormatterName == null || !_formatters.TryGetValue(
_options
.CurrentValue.FormatterName, out ConsoleFormatter? logFormatter))
158
logFormatter =
_options
.CurrentValue.Format switch
165
if (
_options
.CurrentValue.FormatterName == null)
167
UpdateFormatterOptions(logFormatter,
_options
.CurrentValue);
173
_loggers.GetOrAdd(name, new ConsoleLogger(name, _messageQueue, logFormatter, _scopeProvider,
_options
.CurrentValue));