Click or drag to resize

ColoredConsoleTargetUseDefaultRowHighlightingRules Property

Gets or sets a value indicating whether to use default row highlighting rules.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public bool UseDefaultRowHighlightingRules { get; set; }

Property Value

Type: Boolean
Remarks
Default: which enables the following rules:
ConditionForeground ColorBackground Color
level == LogLevel.FatalRedNoChange
level == LogLevel.ErrorRedNoChange
level == LogLevel.WarnYellowNoChange
level == LogLevel.InfoWhiteNoChange
level == LogLevel.DebugGrayNoChange
level == LogLevel.TraceGrayNoChange
See Also