Click or drag to resize

WhenContainsFilterCheck Method

Checks whether log event should be logged or not.

Namespace:  NLog.Filters
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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