professional-php-11-loggerClassTest.php / php
<?php require_once('class.Logger.php'); cfg['LOGGER_LEVEL'] = LOGGER_INFO; _GET['fooid'])) { //not written to the log - the log level is too high //LOG_INFO is the default so this would get printed log->logMessage('The value of fooid is ' . //This will also be written, and includes a module name log->logMessage('No fooid passed from ' .
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.