Overview

Packages

  • log4php
    • appenders
    • configurators
    • filters
    • helpers
    • layouts
    • pattern
    • renderers

Classes

  • LoggerConfigurationAdapterINI
  • LoggerConfigurationAdapterPHP
  • LoggerConfigurationAdapterXML

Interfaces

  • LoggerConfigurationAdapter
  • Overview
  • Package
  • Class
  • Tree

Class LoggerConfigurationAdapterPHP

Converts PHP configuration files to a PHP array.

The file should only hold the PHP config array preceded by "return".

Example PHP config file:

<?php
return array(
  'rootLogger' => array(
    'level' => 'info',
    'appenders' => array('default')
  ),
  'appenders' => array(
    'default' => array(
      'class' => 'LoggerAppenderEcho',
      'layout' => array(
        'class' => 'LoggerLayoutSimple'
       )
    )
  )
)
?>
LoggerConfigurationAdapterPHP implements LoggerConfigurationAdapter
Package: log4php\configurators
License: Apache License, Version 2.0
Version: $Revision: 1343601 $
Since: 2.2
Located at configurators/LoggerConfigurationAdapterPHP.php
Methods summary
public
# convert( mixed $url )

Converts the configuration file to PHP format usable by the configurator.

Converts the configuration file to PHP format usable by the configurator.

Implementation of

LoggerConfigurationAdapter::convert()
Apache log4php API documentation generated by ApiGen 2.8.0