共用方式為


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
屬性

適用於