Checks if this logger is enabled for a given Level passed as parameter.
Namespace: log4net.Repository.HierarchyAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- level
- Type: log4net.Core Level
The level to check.
Return Value
Type: Booleantrue if this logger is enabled for level, otherwise false.
Implements
ILogger IsEnabledFor(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