Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

IFilter.Decide�Method�

Decide if the logging event should be logged through an appender.

[Visual�Basic]
Function�Decide( _
���ByVal loggingEvent�As�LoggingEvent�_
)�As�FilterDecision
[C#]
FilterDecision�Decide(
���LoggingEventloggingEvent
);

Parameters

loggingEvent
The LoggingEvent to decide upon

Return Value

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

IFilter Interface | log4net.Filter Namespace