This is a very simple filter based on string matching.
This is a very simple filter based on string matching. The filter admits two options $stringToMatch and $acceptOnMatch. If there is a match (using http://www.php.net/strpos between the value of the $stringToMatch option and the message of the LoggerLoggingEvent, then the decide() method returns LOG4PHP_LOGGER_FILTER_ACCEPT if the AcceptOnMatch option value is 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 Program_Root/log4php/varia/LoggerStringMatchFilter.php (line 47)
LoggerFilter | --LoggerStringMatchFilter
Inherited from LoggerFilter
LoggerFilter::$next
Inherited From LoggerFilter
LoggerFilter::activateOptions()
LoggerFilter::decide()
Documentation generated on Mon, 15 Sep 2003 21:13:22 +0200 by phpDocumentor 1.2.2