1 instantiation of ConsoleLogger
Microsoft.Extensions.Logging.Console (1)
ConsoleLoggerProvider.cs (1)
173
_loggers.GetOrAdd(name, new
ConsoleLogger
(name, _messageQueue, logFormatter, _scopeProvider, _options.CurrentValue));
16 references to ConsoleLogger
Microsoft.Extensions.Logging.Console (16)
ConfigurationConsoleLoggerSettings.cs (1)
12
/// Settings for a <see cref="
ConsoleLogger
"/>.
ConsoleLoggerExtensions.cs (4)
50
/// <param name="configure">A delegate to configure the <see cref="
ConsoleLogger
"/>.</param>
72
/// <param name="configure">A delegate to configure the <see cref="
ConsoleLogger
"/> options for the built-in default log formatter.</param>
89
/// <param name="configure">A delegate to configure the <see cref="
ConsoleLogger
"/> options for the built-in json log formatter.</param>
99
/// <param name="configure">A delegate to configure the <see cref="
ConsoleLogger
"/> options for the built-in systemd log formatter.</param>
ConsoleLoggerFormat.cs (1)
7
/// Describes the format of <see cref="
ConsoleLogger
" /> messages.
ConsoleLoggerOptions.cs (1)
9
/// Options for a <see cref="
ConsoleLogger
"/>.
ConsoleLoggerProvider.cs (9)
15
/// A provider of <see cref="
ConsoleLogger
"/> instances.
22
private readonly ConcurrentDictionary<string,
ConsoleLogger
> _loggers;
32
/// <param name="options">The options to create <see cref="
ConsoleLogger
"/> instances with.</param>
39
/// <param name="options">The options to create <see cref="
ConsoleLogger
"/> instances with.</param>
40
/// <param name="formatters">Log formatters added for <see cref="
ConsoleLogger
"/> instances.</param>
44
_loggers = new ConcurrentDictionary<string,
ConsoleLogger
>();
145
foreach (KeyValuePair<string,
ConsoleLogger
> logger in _loggers)
171
return _loggers.TryGetValue(name, out
ConsoleLogger
? logger) ?
215
foreach (System.Collections.Generic.KeyValuePair<string,
ConsoleLogger
> logger in _loggers)