Click or drag to resize

ConsoleRowHighlightingRule Constructor (ConditionExpression, ConsoleOutputColor, ConsoleOutputColor)

Initializes a new instance of the ConsoleRowHighlightingRule class.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public ConsoleRowHighlightingRule(
	ConditionExpression? condition,
	ConsoleOutputColor foregroundColor,
	ConsoleOutputColor backgroundColor
)

Parameters

condition
Type: NLog.ConditionsConditionExpression
The condition.
foregroundColor
Type: NLog.TargetsConsoleOutputColor
Color of the foreground.
backgroundColor
Type: NLog.TargetsConsoleOutputColor
Color of the background.
See Also