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: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public bool UseDefaultRowHighlightingRules { get; set; }

Property Value

Type: Boolean
Remarks
The default rules are:
ConditionForeground ColorBackground Color
level == LogLevel.FatalRedNoChange
level == LogLevel.ErrorYellowNoChange
level == LogLevel.WarnMagentaNoChange
level == LogLevel.InfoWhiteNoChange
level == LogLevel.DebugGrayNoChange
level == LogLevel.TraceDarkGrayNoChange
See Also