log4net SDK Reference

StringMatchFilter.AcceptOnMatch Property

Accept when matching StringToMatch or RegexToMatch

[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

StringMatchFilter Class | log4net.Filter Namespace