LoggerEffectiveLevel Property Apache log4net™ SDK Documentation
Gets the effective level for this logger.

Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 4.0

public virtual Level EffectiveLevel { get; }

Return Value

Type: Level
The nearest level in the logger hierarchy.

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