AppenderSkeleton Threshold Property | Apache log4net™ SDK Documentation

Gets or sets the threshold Level of this appender.

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

C#
VB
C++
F#
Copy

    public Level Threshold { get; set; }

    Public Property Threshold As Level
    	Get
    	Set

    public:
    property Level^ Threshold {
    	Level^ get ();
    	void set (Level^ value);
    }

    member Threshold : Level with get, set

#### Property Value

Type: Level
The threshold Level of the appender.
Remarks

All log events with lower level than the threshold level are ignored by the appender.

In configuration files this option is specified by setting the value of the Threshold option to a level string, such as "DEBUG", "INFO" and so on.

See Also

#### Reference

AppenderSkeleton Class
log4net.Appender Namespace