Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LevelMatchFilter Class

This is a very simple filter based on Level matching.

For a list of all members of this type, see LevelMatchFilter Members.


public�class�LevelMatchFilter : FilterSkeleton

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


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)

See Also

LevelMatchFilter Members | log4net.Filter Namespace