Always returns the integer constant Deny
Namespace: log4net.FilterAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- loggingEvent
- Type: log4net.Core LoggingEvent
the LoggingEvent to filter
Return Value
Type: FilterDecisionAlways returns Deny
Implements
IFilter Decide(LoggingEvent)Remarks
Ignores the event being logged and just returns Deny. This can be used to change the default filter chain behavior from Accept to Deny. This filter should only be used as the last filter in the chain as any further filters will be ignored!
See Also