ManagedColoredConsoleAppender 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 ConsoleColor ForeColor { get; set; }

    Public Property ForeColor As ConsoleColor
    	Get
    	Set

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

    member ForeColor : ConsoleColor with get, set

#### Property Value

Type: ConsoleColor
Remarks

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

See Also

#### Reference

ManagedColoredConsoleAppender
LevelColors Class
log4net.Appender Namespace