HierarchyIsDisabled Method Apache log4net™ SDK Documentation
Test if this hierarchy is disabled for the specified Level.

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

public bool IsDisabled(
	Level level
)

Parameters

level
Type: log4net.CoreLevel
The level to check against.

Return Value

Type: Boolean
true if the repository is disabled for the level argument, false otherwise.
Remarks

If this hierarchy has not been configured then this method will always return true.

This method will return true if this repository is disabled for level object passed as parameter and false otherwise.

See also the Threshold property.

See Also

Reference