TimeEvaluator IsTriggeringEvent Method | Apache log4net™ SDK Documentation

Is this loggingEvent the triggering event?

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

C#
VB
C++
F#
Copy

    public bool IsTriggeringEvent(
    	LoggingEvent loggingEvent
    )

    Public Function IsTriggeringEvent (
    	loggingEvent As LoggingEvent
    ) As Boolean

    public:
    virtual bool IsTriggeringEvent(
    	LoggingEvent^ loggingEvent
    ) sealed

    abstract IsTriggeringEvent :
            loggingEvent : LoggingEvent -> bool
    override IsTriggeringEvent :
            loggingEvent : LoggingEvent -> bool

#### Parameters

loggingEvent
  Type: log4net.Core
  LoggingEvent
  The event to check

#### Return Value

Type: Boolean
This method returns true, if the specified time period Interval has passed since last check.. Otherwise it returns false

#### Implements

ITriggeringEventEvaluator
IsTriggeringEvent(LoggingEvent)
Remarks

This evaluator will trigger if the specified time period Interval has passed since last check.

See Also

#### Reference

TimeEvaluator Class
log4net.Core Namespace