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.
Inheritance Hierarchy
log4net.UtilLevelMappingEntry
log4net.AppenderAnsiColorTerminalAppenderLevelColors
Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
The AnsiColorTerminalAppenderLevelColors type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AnsiColorTerminalAppenderLevelColors | Initializes a new instance of the AnsiColorTerminalAppenderLevelColors class |
Properties
Name | Description | |
---|---|---|
Attributes |
The color attributes for the specified level
| |
BackColor |
The mapped background color for the specified level
| |
ForeColor |
The mapped foreground color for the specified level
| |
Level |
The level that is the key for this mapping
(Inherited from LevelMappingEntry.) |
Methods
Name | Description | |
---|---|---|
ActivateOptions |
Initialize the options for the object
(Overrides LevelMappingEntryActivateOptions.) | |
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString | (Inherited from Object.) |
Remarks
Defines the mapping between a level and the color it should be displayed in.
See Also