LevelMatchFilterDecide Method Apache log4net™ SDK Documentation
Tests if the Level of the logging event matches that of the filter

Namespace: log4net.Filter
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public override FilterDecision Decide(
	LoggingEvent loggingEvent
)

Parameters

loggingEvent
Type: log4net.CoreLoggingEvent
the event to filter

Return Value

Type: FilterDecision
see remarks

Implements

IFilterDecide(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

Reference