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