Implements interfaces:
Default implementation of the logger configurator.
Configures log4php based on a provided configuration file or array.
Located in /configurators/LoggerConfiguratorDefault.php (line 31)
Default configuration; used if no configuration file is provided.
Defines which adapter should be used for parsing which format.
Holds the appenders before they are linked to loggers.
Returns the default log4php configuration.
Configures log4php based on the given configuration. The input can either be a path to the config file, or a PHP array holding the configuration.
If no configuration is given, or if the given configuration cannot be parsed for whatever reason, a warning will be issued, and log4php will use the default configuration contained in $defaultConfiguration.
Configures an appender based on given config and saves it to $appenders array so it can be later linked to loggers.
Configures a logger.
Configures a logger which is not root.
Parses filter config, creates the filter and adds it to the appender's filter chain.
Parses layout config, creates the layout and links it to the appender.
Constructs the logger hierarchy based on configuration.
Determines configuration file type based on the file extension.
Parses the given configuration and returns the parsed configuration as a PHP array. Does not perform any configuration.
If no configuration is given, or if the given configuration cannot be parsed for whatever reason, a warning will be issued, and the default configuration will be returned ($defaultConfiguration).
Loads the configuration file from the given URL, determines which adapter to use, converts the configuration to a PHP array and returns it.
Helper method which applies given options to an object which has setters for these options (such as appenders, layouts, etc.).
For example, if options are:
This method will call:
If required setters do not exist, it will produce a warning.
Helper method to simplify error reporting.
Documentation generated on Sat, 18 Feb 2012 22:32:24 +0000 by phpDocumentor 1.4.3