ITriggeringEventEvaluator IsTriggeringEvent Method | Apache log4net™ SDK Documentation

Test if this event triggers the action

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    bool IsTriggeringEvent(
    	LoggingEvent loggingEvent
    )

    Function IsTriggeringEvent (
    	loggingEvent As LoggingEvent
    ) As Boolean

    bool IsTriggeringEvent(
    	LoggingEvent^ loggingEvent
    )

    abstract IsTriggeringEvent :
            loggingEvent : LoggingEvent -> bool

#### Parameters

loggingEvent
  Type: log4net.Core
  LoggingEvent
  The event to check

#### Return Value

Type: Boolean
true if this event triggers the action, otherwise false
Remarks

Return true if this event triggers the action

See Also

#### Reference

ITriggeringEventEvaluator Interface
log4net.Core Namespace