FilterDecision Enumeration | Apache log4net™ SDK Documentation

The return result from Decide(LoggingEvent)

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

C#
VB
C++
F#
Copy

    public enum FilterDecision

    Public Enumeration FilterDecision

    public enum class FilterDecision

    type FilterDecision

Members

| Member name | Value | Description
--- | --- | --- | ---
| Deny | -1 | The log event must be dropped immediately without consulting with the remaining filters, if any, in the chain.
| Neutral | 0 | This filter is neutral with respect to the log event. The remaining filters, if any, should be consulted for a final decision.
| Accept | 1 | The log event must be logged immediately without consulting with the remaining filters, if any, in the chain.

Remarks

The return result from Decide(LoggingEvent)

See Also

#### Reference

log4net.Filter Namespace