<PackageReference Include="Serilog.Sinks.Console" Version="6.1.0" />

Serilog.ConsoleLoggerConfigurationExtensions

Adds the WriteTo.Console() extension method to LoggerConfiguration.
namespace Serilog { public static class ConsoleLoggerConfigurationExtensions { public static LoggerConfiguration Console(this LoggerSinkConfiguration sinkConfiguration, LogEventLevel restrictedToMinimumLevel = 0, string outputTemplate = "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}", IFormatProvider formatProvider = null, LoggingLevelSwitch levelSwitch = null, LogEventLevel? standardErrorFromLevel = default(LogEventLevel?), ConsoleTheme theme = null, bool applyThemeToRedirectedOutput = false, object syncRoot = null); public static LoggerConfiguration Console(this LoggerSinkConfiguration sinkConfiguration, ITextFormatter formatter, LogEventLevel restrictedToMinimumLevel = 0, LoggingLevelSwitch levelSwitch = null, LogEventLevel? standardErrorFromLevel = default(LogEventLevel?), object syncRoot = null); } }