log4net SDK Reference

Logger.EffectiveLevel Property

Gets the effective level for this logger.

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

Remarks

Starting from this logger, searches the logger hierarchy for a non-null level and returns it. Otherwise, returns the level of the root logger.

The Logger class is designed so that this method executes as quickly as possible.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace