PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Console Namespace / Console­Logging­Backend­Options Class / Console­Logging­Backend­Options Properties / Console­Logging­Backend­Options.​Use­Colors Property

ConsoleLoggingBackendOptions.UseColors Property

Note: This API is now obsolete.

Determines whether messages of different level should be logged with different colors. The default value is true.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Console
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: (
[ObsoleteAttribute("Use the Theme property")]
public bool UseColors { get; set; }

Property Value

Type: Boolean
See Also