Class LoggerConfiguratorBasic

Description

Implements interfaces:

Use this class to quickly configure the package.

An example how to use this configurator:

  1. define('LOG4PHP_CONFIGURATOR_CLASS''LoggerConfiguratorBasic')
  2. require_once dirname(__FILE__).'/../../main/php/Logger.php';
  3.  
  4. $logger Logger::getRootLogger();
  5. $logger->info("Hello World!");

  • version: $Revision: 883108 $

Located in /configurators/LoggerConfiguratorBasic.php (line 32)


	
			
Method Summary
void configure (LoggerHierarchy $hierarchy, [string $url = null])
Methods
configure (line 40)

Add a LoggerAppenderConsole that uses the LoggerLayoutTTCC to the root category.

  • access: public
void configure (LoggerHierarchy $hierarchy, [string $url = null])

Implementation of:
LoggerConfigurator::configure()
Interpret a resource pointed by a url and configure accordingly.

Documentation generated on Fri, 27 Nov 2009 07:44:49 +0100 by phpDocumentor 1.4.3