LevelEvaluator ClassApache log4net™ SDK Documentation
An evaluator that triggers at a threshold level
Inheritance Hierarchy

SystemObject
  log4net.CoreLevelEvaluator

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

public class LevelEvaluator : ITriggeringEventEvaluator

The LevelEvaluator type exposes the following members.

Constructors

  NameDescription
Public methodLevelEvaluator
Create a new evaluator using the Off threshold.
Public methodLevelEvaluator(Level)
Create a new evaluator using the specified Level threshold.
Top
Properties

  NameDescription
Public propertyThreshold
the threshold to trigger at
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 level of the event passed to [M:IsTriggeringEvent(LoggingEvent)] is equal to or greater than the Threshold level.

See Also

Reference