log4net SDK Reference

LevelMapping.Lookup Method 

Lookup the mapping for the specified level

[Visual Basic]
Public Function Lookup( _
   ByVal level As Level _
) As LevelMappingEntry
[C#]
public LevelMappingEntry Lookup(
   Level level
);

Parameters

level
the level to lookup

Return Value

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

LevelMapping Class | log4net.Util Namespace