1 instantiation of JsonConsoleFormatterOptions
Microsoft.Extensions.Logging.Console (1)
ConsoleLoggerProvider.cs (1)
118
cd.TryAdd(ConsoleFormatterNames.Json, new JsonConsoleFormatter(new FormatterOptionsMonitor<JsonConsoleFormatterOptions>(new
JsonConsoleFormatterOptions
())));
8 references to JsonConsoleFormatterOptions
Microsoft.Extensions.Logging.Console (8)
ConsoleLoggerExtensions.cs (3)
34
builder.AddConsoleFormatter<JsonConsoleFormatter,
JsonConsoleFormatterOptions
, ConsoleFormatterConfigureOptions>();
90
public static ILoggingBuilder AddJsonConsole(this ILoggingBuilder builder, Action<
JsonConsoleFormatterOptions
> configure)
92
return builder.AddConsoleWithFormatter<
JsonConsoleFormatterOptions
>(ConsoleFormatterNames.Json, configure);
ConsoleLoggerProvider.cs (1)
118
cd.TryAdd(ConsoleFormatterNames.Json, new JsonConsoleFormatter(new FormatterOptionsMonitor<
JsonConsoleFormatterOptions
>(new JsonConsoleFormatterOptions())));
JsonConsoleFormatter.cs (3)
22
public JsonConsoleFormatter(IOptionsMonitor<
JsonConsoleFormatterOptions
> options)
225
internal
JsonConsoleFormatterOptions
FormatterOptions { get; set; }
228
private void ReloadLoggerOptions(
JsonConsoleFormatterOptions
options)
JsonConsoleFormatterOptions.cs (1)
15
/// Initializes a new instance of the <see cref="
JsonConsoleFormatterOptions
"/> class.