LevelMatchFilterAcceptOnMatch Property Apache log4net™ SDK Documentation
Accept when matching LevelToMatch

Namespace: log4net.Filter
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public bool AcceptOnMatch { get; set; }

Property Value

Type: Boolean
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

Reference