LevelMappingLookup Method Apache log4net™ SDK Documentation
Lookup the mapping for the specified level

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public LevelMappingEntry Lookup(
	Level level
)

Parameters

level
Type: log4net.CoreLevel
the level to lookup

Return Value

Type: LevelMappingEntry
the LevelMappingEntry for the level or null if no mapping found
Remarks

Lookup the value for the specified level. Finds the nearest mapping value for the level that is equal to or less than the level specified.

If no mapping could be found then null is returned.

See Also

Reference