Share via


SimpleConsoleFormatterOptions.ColorBehavior Property

Definition

Determines when to use color when logging messages.

public:
 property Microsoft::Extensions::Logging::Console::LoggerColorBehavior ColorBehavior { Microsoft::Extensions::Logging::Console::LoggerColorBehavior get(); void set(Microsoft::Extensions::Logging::Console::LoggerColorBehavior value); };
public Microsoft.Extensions.Logging.Console.LoggerColorBehavior ColorBehavior { get; set; }
member this.ColorBehavior : Microsoft.Extensions.Logging.Console.LoggerColorBehavior with get, set
Public Property ColorBehavior As LoggerColorBehavior

Property Value

An object that determines the logger color behavior.

Applies to