Click or drag to resize

WhenRepeatedFilterCheck Method

Checks whether log event should be logged or not. In case the LogEvent has just been repeated.

Namespace:  NLog.Filters
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
protected override FilterResult Check(
	LogEventInfo logEvent
)

Parameters

logEvent
Type: NLogLogEventInfo
Log event.

Return Value

Type: FilterResult
Ignore - if the log event should be ignored
Neutral - if the filter doesn't want to decide
Log - if the log event should be logged
.
See Also