[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/log4php/ -> LoggerManager.php (sommaire)

log4php is a PHP port of the log4j java logging package. <p>This framework is based on log4j (see {@link http://jakarta.apache.org/log4j log4j} for details).</p> <p>Design, strategies and part of the methods documentation are developed by log4j team (Ceki Gülcü as log4j project founder and {@link http://jakarta.apache.org/log4j/docs/contributors.html contributors}).</p>

Poids: 262 lignes (8 kb)
Inclus ou requis: 3 fois
Référencé: 0 fois
Nécessite: 1 fichier
 log4php/LoggerHierarchy.php

Définit 1 class

LoggerManager:: (9 méthodes):
  exists()
  getCurrentLoggers()
  getRootLogger()
  getLogger()
  getLoggerRepository()
  resetConfiguration()
  setRepositorySelector()
  shutdown()
  LoggerManagerDefaultInit()


Classe: LoggerManager  - X-Ref

Use the LoggerManager to get Logger instances.

exists($name)   X-Ref
check if a given logger exists.

param: string $name logger name
return: boolean

getCurrentLoggers()   X-Ref
Returns an array this whole Logger instances.

return: array

getRootLogger()   X-Ref
Returns the root logger.

return: object

getLogger($name, $factory = null)   X-Ref
Returns the specified Logger.

param: string $name logger name
param: LoggerFactory $factory a {@link LoggerFactory} instance or null
return: Logger

getLoggerRepository()   X-Ref
Returns the LoggerHierarchy.

return: LoggerHierarchy

resetConfiguration()   X-Ref
Destroy loggers object tree.

return: boolean

setRepositorySelector($selector, $guard)   X-Ref
Does nothing.


shutdown()   X-Ref
Safely close all appenders.


LoggerManagerDefaultInit()   X-Ref
Default init procedure.

<p>This procedure tries to configure the {@link LoggerHierarchy} using the
configurator class defined via {@link LOG4PHP_CONFIGURATOR_CLASS} that tries
to load the configurator file defined in {@link LOG4PHP_CONFIGURATION}.
If something goes wrong a warn is raised.</p>
<p>Users can skip this procedure using {@link LOG4PHP_DEFAULT_INIT_OVERRIDE}
constant.</p>

return: boolean



Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7