LevelRangeFilter Decide Method Apache log4net™ SDK Documentation
Check if the event should be logged.

Namespace: log4net.Filter
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public override FilterDecision Decide(
	LoggingEvent loggingEvent
)

Return Value

Type: FilterDecision
see 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