Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

AppenderSkeleton.FilterEvent�Method�

Test if the logging event should we output by this appender

[Visual�Basic]
Overridable�Protected�Function�FilterEvent( _
���ByVal loggingEvent�As�LoggingEvent�_
)�As�Boolean
[C#]
protected�virtual�bool�FilterEvent(
���LoggingEventloggingEvent
);

Parameters

loggingEvent
the event to test

Return Value

true if the event should be output, false if the event should be ignored

Remarks

This method checks the logging event against the threshold level set on this appender and also against the filters specified on this appender.

The implementation of this method is as follows:

See Also

AppenderSkeleton Class | log4net.Appender Namespace