IFilterDecide Method Apache log4net™ SDK Documentation
Decide if the logging event should be logged through an appender.

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

FilterDecision Decide(
	LoggingEvent loggingEvent
)

Parameters

loggingEvent
Type: log4net.CoreLoggingEvent
The LoggingEvent to decide upon

Return Value

Type: FilterDecision
The decision of the filter
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.

See Also

Reference