<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="11.0.0-rc.3.26522.148" />

Microsoft.Extensions.Logging.Console.ConsoleLoggerOptions

public class ConsoleLoggerOptions
Options for a ConsoleLogger.
public bool DisableColors { get; set; }

Gets or sets a value that indicates whether colors are disabled.

public ConsoleLoggerFormat Format { get; set; }

Gets or sets the log message format.

public string FormatterName { get; set; }

Gets or sets the name of the log message formatter to use.

public bool IncludeScopes { get; set; }

Gets or sets a value that indicates whether scopes are included.

public LogLevel LogToStandardErrorThreshold { get; set; }

Gets or sets value indicating the minimum level of messages that get written to Console.Error.

public int MaxQueueLength { get; set; }

Gets or sets the maximum number of enqueued messages.

Gets or sets the desired console logger behavior when the queue becomes full.

public string TimestampFormat { get; set; }

Gets or sets the format string used to format timestamp in logging messages.

public bool UseUtcTimestamp { get; set; }

Gets or sets a value that indicates whether UTC timezone should be used to format timestamps in logging messages.