Check if the event should be logged.
Namespace: log4net.Filter
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
Parameters
- loggingEvent
- Type: log4net.CoreLoggingEvent
the logging event to check
Return Value
Type: FilterDecisionsee remarks
Implements
IFilterDecide(LoggingEvent)Remarks
If the Level of the logging event is outside the range matched by this filter then Deny is returned. If the Level is matched then the value of AcceptOnMatch is checked. If it is true then Accept is returned, otherwise Neutral is returned.
See Also