TimeEvaluator ClassApache log4net™ SDK Documentation
An evaluator that triggers after specified number of seconds.
Inheritance Hierarchy

SystemObject
  log4net.CoreTimeEvaluator

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

public class TimeEvaluator : ITriggeringEventEvaluator

The TimeEvaluator type exposes the following members.

Constructors

  NameDescription
Public methodTimeEvaluator
Create a new evaluator using the DEFAULT_INTERVAL time threshold in seconds.
Public methodTimeEvaluator(Int32)
Create a new evaluator using the specified time threshold in seconds.
Top
Properties

  NameDescription
Public propertyInterval
The time threshold in seconds to trigger after
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsTriggeringEvent
Is this loggingEvent the triggering event?
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Remarks

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

See Also

Reference