Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LevelMatchFilter.Decide�Method�

Tests if the Level of the logging event matches that of the filter

[Visual�Basic]
Overrides�Public�Function�Decide( _
���ByVal loggingEvent�As�LoggingEvent�_
)�As�FilterDecision�_
����Implements�IFilter.Decide
[C#]
public�override�FilterDecision�Decide(
���LoggingEventloggingEvent
);

Parameters

loggingEvent
the event to filter

Return Value

see remarks

Implements

IFilter.Decide

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

LevelMatchFilter Class | log4net.Filter Namespace