log4php is a PHP port of the log4j java logging package.
log4php is a PHP port of the log4j java logging package. This framework is based on log4j (see http://jakarta.apache.org/log4j for details).
Design, strategies and part of the methods documentation are developed by log4j team (Ceki Gulcu as log4j project founder and http://jakarta.apache.org/log4j/docs/contributors.html).
PHP port, extensions and modifications by VxR. All rights reserved.
For more information, please see 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.
| Class | Description |
|---|---|
| LoggerManager | Use the LoggerManager to get Logger instances. |
Configuration file.
Configuration file. This constant tells configurator classes where the configuration file is located.
If not set by user, log4php tries to set it automatically using (in order):
1 $_ENV['log4php.configuration']
enviroment variable.Holds the configurator class name.
Holds the configurator class name. This constant is set with the fullname (path included but non the .php extension) of the configurator class that init procedure will use.
If not set by user, log4php tries to set it automatically.
If LOG4PHP_CONFIGURATION has '.xml' extension set the constants to 'LOG4PHP_DIR/xml/LoggerDOMConfigurator'.
Otherwise set the constants to 'LOG4PHP_DIR/LoggerPropertyConfigurator'.
Security Note: classfile pointed by this constant will be brutally included with a:
1 @include_once(LOG4PHP_CONFIGURATOR_CLASS . ".php");
Controls init execution With this constant users can skip the default init procedure that is called when this file is included.
Controls init execution With this constant users can skip the default init procedure that is called when this file is included. If it is not user defined, log4php tries to autoconfigure using (in order):
1 $_ENV['log4php.defaultInitOverride']
variable.
1 $GLOBALS['log4php.defaultInitOverride']
global variable.LOG4PHP_DIR points to the log4php root directory.
LOG4PHP_DIR points to the log4php root directory. If not defined it will be set automatically when the first package classfile is included
Default init procedure
Default init procedure This procedure tries to configure the LoggerHierarchy using the configurator class defined via LOG4PHP_CONFIGURATOR_CLASS that tries to load the configurator file defined in LOG4PHP_CONFIGURATION.
If something goes wrong a warn is raised.
Documentation generated on Mon, 15 Sep 2003 21:13:02 +0200 by phpDocumentor 1.2.2