共用方式為


ConsoleLoggerOptions.DisableColors 屬性

定義

警告

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

true 時停用色彩。

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

屬性值

屬性

適用於