Check if the event should be logged.
Namespace: log4net.FilterAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- loggingEvent
- Type: log4net.Core LoggingEvent
the logging event to check
Return Value
Type: FilterDecisionsee remarks
Implements
IFilter Decide(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