Table of Contents

Class ManagedColoredConsoleAppender.LevelColors

Namespace
log4net.Appender
Assembly
log4net.dll

A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as.

public class ManagedColoredConsoleAppender.LevelColors : LevelMappingEntry, IOptionHandler
Inheritance
ManagedColoredConsoleAppender.LevelColors
Implements
Inherited Members

Remarks

Defines the mapping between a level and the color it should be displayed in.

Constructors

LevelColors()

public LevelColors()

Properties

BackColor

The mapped background color for the specified level

public ConsoleColor BackColor { get; set; }

Property Value

ConsoleColor

Remarks

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

ForeColor

The mapped foreground color for the specified level

public ConsoleColor ForeColor { get; set; }

Property Value

ConsoleColor

Remarks

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