ColoredConsoleAppender LevelColors ForeColor Property | Apache log4net™ SDK Documentation

The mapped foreground color for the specified level

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

C#
VB
C++
F#
Copy

    public ColoredConsoleAppenderColors ForeColor { get; set; }

    Public Property ForeColor As ColoredConsoleAppenderColors
    	Get
    	Set

    public:
    property ColoredConsoleAppenderColors ForeColor {
    	ColoredConsoleAppenderColors get ();
    	void set (ColoredConsoleAppenderColors value);
    }

    member ForeColor : ColoredConsoleAppenderColors with get, set

#### Property Value

Type: ColoredConsoleAppender
Colors
Remarks

Required property. The mapped foreground color for the specified level.

See Also

#### Reference

ColoredConsoleAppender
LevelColors Class
log4net.Appender Namespace