This is a very simple filter based on Level matching.
For a list of all members of this type, see LevelMatchFilter Members.
System.Object
log4net.Filter.FilterSkeleton
log4net.Filter.LevelMatchFilter
This type is not safe for multithreaded operations.
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 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.
Namespace: log4net.Filter
Assembly: log4net (in log4net.dll)
LevelMatchFilter Members | log4net.Filter Namespace