log4net SDK Reference

ColoredConsoleAppender.Colors Enumeration

The enum of possible color values for use with the color mapping method

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
Public Enum ColoredConsoleAppender.Colors
[C#]
public enum ColoredConsoleAppender.Colors

Remarks

The following flags can be combined together to form the colors.

Members

Member NameDescriptionValue
Blue color is blue 1
Green color is green 2
Red color is red 4
White color is white 7
Yellow color is yellow 6
Purple color is purple 5
Cyan color is cyan 3
HighIntensity color is intensified 8

Requirements

Namespace: log4net.Appender

Assembly: log4net (in log4net.dll)

See Also

log4net.Appender Namespace | ColoredConsoleAppender