NLog.Targets.ConsoleRowHighlightingRule
The row-highlighting condition.
Gets the default highlighting rule. Doesn't change the color.
Gets or sets the background color.
Gets or sets the condition that must be met in order to set the specified foreground and background color.
Gets or sets the foreground color.
public ConsoleRowHighlightingRule()
Initializes a new instance of the ConsoleRowHighlightingRule class.
public ConsoleRowHighlightingRule(ConditionExpression condition, ConsoleOutputColor foregroundColor, ConsoleOutputColor backgroundColor)
Initializes a new instance of the ConsoleRowHighlightingRule class.
Checks whether the specified log event matches the condition (if any).