Decide if the LoggingEvent should be logged through an appender.
Namespace: log4net.Filter
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
Parameters
- loggingEvent
- Type: log4net.CoreLoggingEvent
The LoggingEvent to decide upon
Return Value
Type: FilterDecisionThe decision of the filter
Implements
IFilterDecide(LoggingEvent)Remarks
If the decision is Deny, then the event will be dropped. If the decision is Neutral, then the next filter, if any, will be invoked. If the decision is Accept then the event will be logged without consulting with other filters in the chain.
This method is marked abstract and must be implemented in a subclass.
See Also