Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LevelRangeFilter Class

This is a simple filter based on Level matching.

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

System.Object
���log4net.Filter.FilterSkeleton
������log4net.Filter.LevelRangeFilter

[Visual�Basic]
Public�Class�LevelRangeFilter
����Inherits�FilterSkeleton
[C#]
public�class�LevelRangeFilter : 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.

Remarks

The filter admits three options LevelMin and LevelMax that determine the range of priorities that are matched, and AcceptOnMatch. If there is a match between the range of priorities 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 there is no match, Deny is returned.

Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

See Also

LevelRangeFilter Members | log4net.Filter Namespace