LevelEvaluator Constructor (Level) | Apache log4net™ SDK Documentation

Create a new evaluator using the specified Level threshold.

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

C#
VB
C++
F#
Copy

    public LevelEvaluator(
    	Level threshold
    )

    Public Sub New (
    	threshold As Level
    )

    public:
    LevelEvaluator(
    	Level^ threshold
    )

    new :
            threshold : Level -> LevelEvaluator

#### Parameters

threshold
  Type: log4net.Core
  Level
  the threshold to trigger at

Remarks

Create a new evaluator using the specified Level threshold.

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

LevelEvaluator Class
LevelEvaluator Overload
log4net.Core Namespace