Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LevelMatchFilter.AcceptOnMatch Property

Accept when matching LevelToMatch

[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 Deny the event.

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

See Also

LevelMatchFilter Class | log4net.Filter Namespace