This framework is based on log4j (see {@link http://jakarta.apache.org/log4j log4j} for details).
*Design, strategies and part of the methods documentation are developed by log4j team * (Ceki Gülcü as log4j project founder and * {@link http://jakarta.apache.org/log4j/docs/contributors.html contributors}).
* *PHP port, extensions and modifications by VxR. All rights reserved.
* For more information, please see {@link http://www.vxr.it/log4php/}.
This software is published under the terms of the LGPL License * a copy of which has been included with this distribution in the LICENSE file.
* * @package log4php * @subpackage varia */ /** * @ignore */ if (!defined('LOG4PHP_DIR')) define('LOG4PHP_DIR', dirname(__FILE__) . '/..'); /** */ require_once(LOG4PHP_DIR . '/helpers/LoggerOptionConverter.php'); require_once(LOG4PHP_DIR . '/spi/LoggerFilter.php'); /** * 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 LevelMin, LevelMax * and AcceptOnMatch.
* *If the level of the {@link LoggerLoggingEvent} is not between Min and Max * (inclusive), then {@link LOG4PHP_LOGGER_FILTER_DENY} is returned.
* *If the Logging event level is within the specified range, then if * AcceptOnMatch is true, * {@link LOG4PHP_LOGGER_FILTER_ACCEPT} is returned, and if * AcceptOnMatch is false, * {@link LOG4PHP_LOGGER_FILTER_NEUTRAL} is returned.
* *If LevelMin is not defined, then there is no * minimum acceptable level (ie a level is never rejected for * being too "low"/unimportant). If LevelMax is not * defined, then there is no maximum acceptable level (ie a * level is never rejected for beeing too "high"/important).
* *Refer to the {@link LoggerAppenderSkeleton::setThreshold()} method * available to all appenders extending {@link LoggerAppenderSkeleton} * for a more convenient way to filter out events by level.
* * @log4j-class org.apache.log4j.varia.LevelRangeFilter * @log4j-author Simon Kitching * @log4j-author based on code by Ceki Gülcü * * @author VxR