| ConsoleRowHighlightingRuleCheckCondition Method |
Checks whether the specified log event matches the condition (if any).
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public bool CheckCondition(
LogEventInfo logEvent
)
Public Function CheckCondition (
logEvent As LogEventInfo
) As Boolean
Dim instance As ConsoleRowHighlightingRule
Dim logEvent As LogEventInfo
Dim returnValue As Boolean
returnValue = instance.CheckCondition(logEvent)
member CheckCondition :
logEvent : LogEventInfo -> bool
Parameters
- logEvent
- Type: NLogLogEventInfo
Log event.
Return Value
Type:
Boolean
A value of
if the condition is not defined or
if it matches,
otherwise.
See Also