ColoredConsoleAppender Colors Enumeration | Apache log4net™ SDK Documentation

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

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    [FlagsAttribute]
    public enum Colors

    <FlagsAttribute>
    Public Enumeration Colors

    [FlagsAttribute]
    public enum class Colors

    [<FlagsAttribute>]
    type Colors

Members

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

Remarks

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

See Also

#### Reference

log4net.Appender Namespace
log4net.Appender
ColoredConsoleAppender