EffectiveLevel Property

log4net SDK Reference |

# RootLogger.EffectiveLevel Property

Gets the assigned level value without walking the logger hierarchy.

[Visual Basic]
Overrides Public ReadOnly Property EffectiveLevel As Level
[C#]
public override log4net.Core.Level EffectiveLevel {get;}

#### Property Value

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

RootLogger Class | log4net.Repository.Hierarchy Namespace