ConsoleRowHighlightingRule Class |
Namespace: NLog.Targets
The ConsoleRowHighlightingRule type exposes the following members.
Name | Description | |
---|---|---|
ConsoleRowHighlightingRule |
Initializes a new instance of the ConsoleRowHighlightingRule class.
| |
ConsoleRowHighlightingRule(ConditionExpression, ConsoleOutputColor, ConsoleOutputColor) |
Initializes a new instance of the ConsoleRowHighlightingRule class.
|
Name | Description | |
---|---|---|
BackgroundColor |
Gets or sets the background color.
| |
Condition |
Gets or sets the condition that must be met in order to set the specified foreground and background color.
| |
Default |
Gets the default highlighting rule. Doesn't change the color.
| |
ForegroundColor |
Gets or sets the foreground color.
|
Name | Description | |
---|---|---|
CheckCondition |
Checks whether the specified log event matches the condition (if any).
|