Class ColoredConsoleAppender.LevelColors
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 ColoredConsoleAppender.LevelColors : LevelMappingEntry, IOptionHandler
- Inheritance
-
ColoredConsoleAppender.LevelColors
- Implements
- Inherited Members
Remarks
Defines the mapping between a level and the color it should be displayed in.
Properties
BackColor
The mapped background color for the specified level
public ColoredConsoleAppender.Colors BackColor { get; set; }
Property Value
ForeColor
The mapped foreground color for the specified level
public ColoredConsoleAppender.Colors ForeColor { get; set; }
Property Value
Methods
ActivateOptions()
Initialize the options for the object
public override void ActivateOptions()