This is a very simple filter based on Level matching.
Inheritance Hierarchy
log4net.Filter FilterSkeleton
log4net.Filter LevelMatchFilter
Namespace: log4net.Filter
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Remarks
The filter admits two options LevelToMatch and AcceptOnMatch. If there is an exact match between the value of the LevelToMatch option and the Level of the LoggingEvent, then the Decide(LoggingEvent) method returns Accept in case the AcceptOnMatch option value is set to true, if it is false then Deny is returned. If the Level does not match then the result will be Neutral.
See Also