| WhenEqualFilterCheck 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
)
Protected Overrides Function Check (
logEvent As LogEventInfo
) As FilterResult
Dim logEvent As LogEventInfo
Dim returnValue As FilterResult
returnValue = Me.Check(logEvent)
abstract Check :
logEvent : LogEventInfo -> FilterResult
override Check :
logEvent : LogEventInfo -> FilterResult
Parameters
- logEvent
- Type: NLogLogEventInfo
Log event.
Return Value
Type:
FilterResultIgnore - 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