log4net SDK Reference

LevelEvaluator.IsTriggeringEvent Method 

Is this loggingEvent the triggering event?

[Visual Basic]
NotOverridable Public Function IsTriggeringEvent( _
   ByVal loggingEvent As LoggingEvent _
) As Boolean _
    Implements ITriggeringEventEvaluator.IsTriggeringEvent
[C#]
public bool IsTriggeringEvent(
   LoggingEvent loggingEvent
);

Parameters

loggingEvent
The event to check

Return Value

This method returns true, if the event level is equal or higher than the Threshold. Otherwise it returns false

Implements

ITriggeringEventEvaluator.IsTriggeringEvent

Remarks

This evaluator will trigger if the level of the event passed to IsTriggeringEvent is equal to or greater than the Threshold level.

See Also

LevelEvaluator Class | log4net.Core Namespace