Bagikan melalui


SimpleConsoleFormatterOptions.ColorBehavior Properti

Definisi

Menentukan kapan harus menggunakan warna saat mencatat pesan.

public:
 property Microsoft::Extensions::Logging::Console::LoggerColorBehavior ColorBehavior { Microsoft::Extensions::Logging::Console::LoggerColorBehavior get(); void set(Microsoft::Extensions::Logging::Console::LoggerColorBehavior value); };
public Microsoft.Extensions.Logging.Console.LoggerColorBehavior ColorBehavior { get; set; }
member this.ColorBehavior : Microsoft.Extensions.Logging.Console.LoggerColorBehavior with get, set
Public Property ColorBehavior As LoggerColorBehavior

Nilai Properti

Objek yang menentukan perilaku warna pencatat.

Berlaku untuk