Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ILogger.IsEnabledFor�Method�

Checks if this logger is enabled for a given Level passed as parameter.

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

Parameters

level
The level to check.

Return Value

true if this logger is enabled for level, otherwise false.

Remarks

Test if this logger is going to log events of the specified level.

See Also

ILogger Interface | log4net.Core Namespace