Lookup a named level from the map
Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
Parameters
- defaultLevel
- Type: log4net.CoreLevel
the name of the level to lookup is taken from this level. If the level is not set on the map then this level is added
Return Value
Type: Levelthe level in the map with the name specified
Remarks
Lookup a named level from the map. The name of the level to lookup is taken from the Name property of the defaultLevel argument.
If no level with the specified name is found then the defaultLevel argument is added to the level map and returned.
See Also