[ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
\defgroup logger The logger package takes care of providing logging facilities for the pLog API. It is a very simple API but on the other hand, it follows some of the principles establishes by log4j and log4php, with a very similar system of layouts, formatters and appenders.
Poids: | 206 lignes (7 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 2 fois |
Nécessite: | 0 fichiers |
LoggerManager:: (6 méthodes):
LoggerManager()
_loadLoggerConfig()
createAppenderInstance()
addLogger()
getInstance()
getLogger()
Classe: LoggerManager - X-Ref
\ingroup loggerLoggerManager() X-Ref |
Create a new LogManager instance. This should never be called manually. |
_loadLoggerConfig() X-Ref |
createAppenderInstance( $appender, $layout, $properties ) X-Ref |
dynamically loads a layout formatter param: appenderName return: a qLayout class |
addLogger($name, $logger) X-Ref |
Add a logger. If a logger with the given name already exists, an error will be reported. param: string A logger name. param: Logger A Logger instance. |
getInstance() X-Ref |
Retrieve the single instance of LogManager. return: qLogManager A qLogManager instance. |
getLogger($name = "default") X-Ref |
Retrieve a logger. If a name is not specified, the default logger is returned. param: string A logger name. return: Logger A Logger instance, if the given Logger exists, otherwise NULL. |
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |