1 write to _formatters
Microsoft.Extensions.Logging.Console (1)
ConsoleLoggerProvider.cs (1)
121
_formatters
= cd;
7 references to _formatters
Microsoft.Extensions.Logging.Console (7)
ConsoleLoggerProvider.cs (7)
99
[MemberNotNull(nameof(
_formatters
))]
127
if (options.FormatterName == null || !
_formatters
.TryGetValue(options.FormatterName, out ConsoleFormatter? logFormatter))
132
ConsoleLoggerFormat.Systemd =>
_formatters
[ConsoleFormatterNames.Systemd],
133
_ =>
_formatters
[ConsoleFormatterNames.Simple],
155
if (_options.CurrentValue.FormatterName == null || !
_formatters
.TryGetValue(_options.CurrentValue.FormatterName, out ConsoleFormatter? logFormatter))
160
ConsoleLoggerFormat.Systemd =>
_formatters
[ConsoleFormatterNames.Systemd],
161
_ =>
_formatters
[ConsoleFormatterNames.Simple],