This is a very simple filter based on level matching.
The filter admits two options <var>LevelToMatch</var> and <var>AcceptOnMatch</var>. If there is an exact match between the value of the <var>LevelToMatch</var> option and the level of the LoggerLoggingEvent, then the decide() method returns LOG4PHP_LOGGER_FILTER_ACCEPT in case the <var>AcceptOnMatch</var> option value is set to true, if it is false then LOG4PHP_LOGGER_FILTER_DENY is returned. If there is no match, LOG4PHP_LOGGER_FILTER_NEUTRAL is returned.
Located in /varia/LoggerLevelMatchFilter.php (line 41)
LoggerFilter | --LoggerLevelMatchFilter
Inherited from LoggerFilter
LoggerFilter::$next
Return the decision of this filter.
Returns LOG4PHP_LOGGER_FILTER_NEUTRAL if the <var>LevelToMatch</var> option is not set or if there is not match. Otherwise, if there is a match, then the returned decision is LOG4PHP_LOGGER_FILTER_ACCEPT if the <var>AcceptOnMatch</var> property is set to true. The returned decision is LOG4PHP_LOGGER_FILTER_DENY if the <var>AcceptOnMatch</var> property is set to false.
Inherited From LoggerFilter
LoggerFilter::activateOptions()
LoggerFilter::decide()
LoggerFilter::getNext()
Documentation generated by phpDocumentor 1.3.2