Język

ConsoleLoggerOptions.DisableColors Właściwość

Definicja

Uwaga

ConsoleLoggerOptions.DisableColors has been deprecated. Use SimpleConsoleFormatterOptions.ColorBehavior instead.

Pobiera lub ustawia wartość wskazującą, czy kolory są wyłączone.

public:
 property bool DisableColors { bool get(); void set(bool value); };
[System.Obsolete("ConsoleLoggerOptions.DisableColors has been deprecated. Use SimpleConsoleFormatterOptions.ColorBehavior instead.")]
public bool DisableColors { get; set; }
[<System.Obsolete("ConsoleLoggerOptions.DisableColors has been deprecated. Use SimpleConsoleFormatterOptions.ColorBehavior instead.")>]
member this.DisableColors : bool with get, set
Public Property DisableColors As Boolean

Wartość właściwości

true jeśli kolory są wyłączone.

Atrybuty

Dotyczy