Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LevelRangeFilter.AcceptOnMatch Property

Accept when matching LevelMin and LevelMax

[Visual�Basic]
Public�Property�AcceptOnMatch�As�Boolean
[C#]
public�bool�AcceptOnMatch�{get;�set;}

Remarks

The AcceptOnMatch property is a flag that determines the behavior when a matching Level is found. If the flag is set to true then the filter will Accept the logging event, otherwise it will Neutral the event.

The default is true i.e. to Accept the event.

See Also

LevelRangeFilter Class | log4net.Filter Namespace