2 types derived from ConsoleFormatterOptions
Microsoft.Extensions.Logging.Console (2)
JsonConsoleFormatterOptions.cs (1)
12public class JsonConsoleFormatterOptions : ConsoleFormatterOptions
SimpleConsoleFormatterOptions.cs (1)
11public class SimpleConsoleFormatterOptions : ConsoleFormatterOptions
2 instantiations of ConsoleFormatterOptions
Microsoft.Extensions.Logging.Console (2)
ConsoleLoggerProvider.cs (2)
117cd.TryAdd(ConsoleFormatterNames.Systemd, new SystemdConsoleFormatter(new FormatterOptionsMonitor<ConsoleFormatterOptions>(new ConsoleFormatterOptions()))); 193systemdFormatter.FormatterOptions = new ConsoleFormatterOptions()
17 references to ConsoleFormatterOptions
Microsoft.Extensions.Logging.Console (17)
ConsoleFormatterConfigureOptions.cs (2)
19internal sealed class ConsoleFormatterConfigureOptions : IConfigureOptions<ConsoleFormatterOptions> 29public void Configure(ConsoleFormatterOptions options) => options.Configure(_configuration);
ConsoleFormatterOptions.cs (1)
15/// Initializes a new instance of the <see cref="ConsoleFormatterOptions"/> class.
ConsoleLoggerExtensions.cs (9)
35builder.AddConsoleFormatter<SystemdConsoleFormatter, ConsoleFormatterOptions, ConsoleFormatterConfigureOptions>(); 100public static ILoggingBuilder AddSystemdConsole(this ILoggingBuilder builder, Action<ConsoleFormatterOptions> configure) 102return builder.AddConsoleWithFormatter<ConsoleFormatterOptions>(ConsoleFormatterNames.Systemd, configure); 113where TOptions : ConsoleFormatterOptions 133where TOptions : ConsoleFormatterOptions 147where TOptions : ConsoleFormatterOptions 158where TOptions : ConsoleFormatterOptions 179where TOptions : ConsoleFormatterOptions 192where TOptions : ConsoleFormatterOptions
ConsoleLoggerProvider.cs (1)
117cd.TryAdd(ConsoleFormatterNames.Systemd, new SystemdConsoleFormatter(new FormatterOptionsMonitor<ConsoleFormatterOptions>(new ConsoleFormatterOptions())));
FormatterOptionsMonitor.cs (1)
12where TOptions : ConsoleFormatterOptions
SystemdConsoleFormatter.cs (3)
17public SystemdConsoleFormatter(IOptionsMonitor<ConsoleFormatterOptions> options) 25private void ReloadLoggerOptions(ConsoleFormatterOptions options) 35internal ConsoleFormatterOptions FormatterOptions { get; set; }