[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/log4php.debug/ -> LoggerManager.php (summary)

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>

File Size: 262 lines (8 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 1 file
 libraries/log4php.debug/LoggerHierarchy.php

Defines 1 class

LoggerManager:: (9 methods):
  exists()
  getCurrentLoggers()
  getRootLogger()
  getLogger()
  getLoggerRepository()
  resetConfiguration()
  setRepositorySelector()
  shutdown()
  LoggerManagerDefaultInit()


Class: 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



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1