RootLogger EffectiveLevel Property | Apache log4net™ SDK Documentation

Gets the assigned level value without walking the logger hierarchy.

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

C#
VB
C++
F#
Copy

    public override Level EffectiveLevel { get; }

    Public Overrides ReadOnly Property EffectiveLevel As Level
    	Get

    public:
    virtual property Level^ EffectiveLevel {
    	Level^ get () override;
    }

    abstract EffectiveLevel : Level with get
    override EffectiveLevel : Level with get

#### Property Value

Type: Level
The assigned level value without walking the logger hierarchy.
Remarks

Because the root logger cannot have a parent and its level must not be null this property just returns the value of Level.

See Also

#### Reference

RootLogger Class
log4net.Repository.Hierarchy Namespace