StringMatchFilterAcceptOnMatch Property Apache log4net™ SDK Documentation

Namespace: log4net.Filter
Assembly: log4net (in log4net.dll) Version: 4.0

public bool AcceptOnMatch { get; set; }

Property Value

Type: Boolean

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