[This is preliminary documentation and is subject to change.]

Colored console output color.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 2.0.1.0

Syntax

C#
public enum ConsoleOutputColor
Visual Basic (Declaration)
Public Enumeration ConsoleOutputColor
Visual Basic (Usage)
Dim instance As ConsoleOutputColor

Members

Member nameDescription
Black
Black Color (#000000).
DarkBlue
Dark blue Color (#000080).
DarkGreen
Dark green Color (#008000).
DarkCyan
Dark Cyan Color (#008080).
DarkRed
Dark Red Color (#800000).
DarkMagenta
Dark Magenta Color (#800080).
DarkYellow
Dark Yellow Color (#808000).
Gray
Gray Color (#C0C0C0).
DarkGray
Dark Gray Color (#808080).
Blue
Blue Color (#0000FF).
Green
Green Color (#00FF00).
Cyan
Cyan Color (#00FFFF).
Red
Red Color (#FF0000).
Magenta
Magenta Color (#FF00FF).
Yellow
Yellow Color (#FFFF00).
White
White Color (#FFFFFF).
NoChange
Don't change the color.

Remarks

Note that this enumeration is defined to be binary compatible with .NET 2.0 System.ConsoleColor + some additions

See Also