TimeEvaluator Class | Apache log4net™ SDK Documentation

An evaluator that triggers after specified number of seconds.
Inheritance Hierarchy

System
Object
log4net.Core
TimeEvaluator

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

C#
VB
C++
F#
Copy

    public class TimeEvaluator : ITriggeringEventEvaluator

    Public Class TimeEvaluator
    	Implements ITriggeringEventEvaluator

    public ref class TimeEvaluator : ITriggeringEventEvaluator

    type TimeEvaluator =
        class
            interface ITriggeringEventEvaluator
        end

The TimeEvaluator type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| TimeEvaluator | Create a new evaluator using the DEFAULT_INTERVAL time threshold in seconds.
| TimeEvaluator(Int32) | Create a new evaluator using the specified time threshold in seconds.

Top
Properties

| Name | Description
--- | --- | ---
| Interval | The time threshold in seconds to trigger after

Top
Methods

| Name | Description
--- | --- | ---
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| IsTriggeringEvent | Is this loggingEvent the triggering event?
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| ToString | 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

log4net.Core Namespace