ConsoleLoggerOptions.DisableColors 属性

定义

注意

ConsoleLoggerOptions.DisableColors has been deprecated. Please use SimpleConsoleFormatterOptions.ColorBehavior instead.

注意

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

true 时禁用颜色。

public:
 property bool DisableColors { bool get(); void set(bool value); };
public bool DisableColors { get; set; }
[System.Obsolete("ConsoleLoggerOptions.DisableColors has been deprecated. Please use SimpleConsoleFormatterOptions.ColorBehavior instead.", false)]
public bool DisableColors { get; set; }
[System.Obsolete("ConsoleLoggerOptions.DisableColors has been deprecated. Use SimpleConsoleFormatterOptions.ColorBehavior instead.")]
public bool DisableColors { get; set; }
member this.DisableColors : bool with get, set
[<System.Obsolete("ConsoleLoggerOptions.DisableColors has been deprecated. Please use SimpleConsoleFormatterOptions.ColorBehavior instead.", false)>]
member this.DisableColors : bool with 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

属性值

Boolean
属性

适用于