AnsiColorTerminalAppender AnsiColor Enumeration | Apache log4net™ SDK Documentation

The enum of possible foreground or background 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

    public enum AnsiColor

    Public Enumeration AnsiColor

    public enum class AnsiColor

    type AnsiColor

Members

| Member name | Value | Description
--- | --- | --- | ---
| Black | 0 | color is black
| Red | 1 | color is red
| Green | 2 | color is green
| Yellow | 3 | color is yellow
| Blue | 4 | color is blue
| Magenta | 5 | color is magenta
| Cyan | 6 | color is cyan
| White | 7 | color is white

Remarks

The output can be in one for the following ANSI colors.

See Also

#### Reference

log4net.Appender Namespace
log4net.Appender
AnsiColorTerminalAppender