Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

Hierarchy.IsDisabled�Method�

Test if this hierarchy is disabled for the specified Level.

[Visual�Basic]
Public�Function�IsDisabled( _
���ByVal level�As�Level�_
)�As�Boolean
[C#]
public�bool�IsDisabled(
���Levellevel
);

Parameters

level
The level to check against.

Return Value

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

Hierarchy Class | log4net.Repository.Hierarchy Namespace