log4net SDK Reference

LoggerMatchFilter.AcceptOnMatch Property

[This is preliminary documentation and subject to change.]

Accept when matching LoggerToMatch

[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

LoggerMatchFilter Class | log4net.Filter Namespace