Checks if this logger is enabled for a given Level passed as parameter.
Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
Parameters
- level
- Type: log4net.CoreLevel
The level to check.
Return Value
Type: Booleantrue if this logger is enabled for level, otherwise false.
Implements
ILoggerIsEnabledFor(Level)Remarks
Test if this logger is going to log events of the specified level.
This method must not throw any exception to the caller.
See Also