Mapping between string name and Level object
Inheritance Hierarchy
log4net.CoreLevelMap
Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
The LevelMap type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| LevelMap |
Construct the level map
|
Properties
| Name | Description | |
|---|---|---|
| AllLevels |
Return all possible levels as a list of Level objects.
| |
| Item |
Lookup a Level by name
|
Methods
| Name | Description | |
|---|---|---|
| Add(Level) |
Add a Level to the map
| |
| Add(String, Int32) |
Create a new Level and add it to the map
| |
| Add(String, Int32, String) |
Create a new Level and add it to the map
| |
| Clear |
Clear the internal maps of all levels
| |
| Equals | (Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| LookupWithDefault |
Lookup a named level from the map
| |
| ToString | (Inherited from Object.) |
Remarks
Mapping between string name and Level object. This mapping is held separately for each ILoggerRepository. The level name is case insensitive.
See Also