LoggerColorBehavior Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes when to use color when logging messages.
public enum class LoggerColorBehavior
public enum LoggerColorBehavior
type LoggerColorBehavior =
Public Enum LoggerColorBehavior
- Inheritance
Name | Value | Description |
---|---|---|
Default | 0 | Use the default color behavior, enabling color except when the console output is redirected. |
Enabled | 1 | Enable color for logging. |
Disabled | 2 | Disable color for logging. |
Proizvod | Verzije |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: