This is a very simple filter based on level matching, which can be used to reject messages with priorities outside a certain range.
The filter admits three options <var>LevelMin</var>, <var>LevelMax</var> and <var>AcceptOnMatch</var>.
If the level of the LoggerLoggingEvent is not between Min and Max (inclusive), then LOG4PHP_LOGGER_FILTER_DENY is returned.
If the Logging event level is within the specified range, then if <var>AcceptOnMatch</var> is true, LOG4PHP_LOGGER_FILTER_ACCEPT is returned, and if <var>AcceptOnMatch</var> is false, LOG4PHP_LOGGER_FILTER_NEUTRAL is returned.
If <var>LevelMin</var> is not defined, then there is no minimum acceptable level (i.e. a level is never rejected for being too "low"/unimportant). If <var>LevelMax</var> is not defined, then there is no maximum acceptable level (ie a level is never rejected for being too "high"/important).
Refer to the LoggerAppenderSkeleton::setThreshold() method available to all appenders extending LoggerAppenderSkeleton for a more convenient way to filter out events by level.
Located in /varia/LoggerLevelRangeFilter.php (line 59)
LoggerFilter | --LoggerLevelRangeFilter
Inherited from LoggerFilter
LoggerFilter::$next
Return the decision of this filter.
Inherited From LoggerFilter
LoggerFilter::activateOptions()
LoggerFilter::decide()
LoggerFilter::getNext()
Documentation generated by phpDocumentor 1.3.2