Tests if the Level of the logging event matches that of the filter
Namespace: log4net.FilterAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- loggingEvent
- Type: log4net.Core LoggingEvent
the event to filter
Return Value
Type: FilterDecisionsee remarks
Implements
IFilter Decide(LoggingEvent)Remarks
If the Level of the event matches the level of the filter then the result of the function depends on the value of AcceptOnMatch. If it is true then the function will return Accept, it it is false then it will return Deny. If the Level does not match then the result will be Neutral.
See Also