[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
[Code source] [Imprimer] [Statistiques]
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: | 240 lignes (7 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
LoggerLayoutTTCC:: (13 méthodes):
LoggerLayoutTTCC()
setThreadPrinting()
getThreadPrinting()
setCategoryPrefixing()
getCategoryPrefixing()
setContextPrinting()
getContextPrinting()
setMicroSecondsPrinting()
getMicroSecondsPrinting()
setDateFormat()
getDateFormat()
format()
ignoresThrowable()
Classe: LoggerLayoutTTCC - X-Ref
TTCC layout format consists of time, thread, category and nestedLoggerLayoutTTCC($dateFormat = '') X-Ref |
Constructor param: string date format |
setThreadPrinting($threadPrinting) X-Ref |
The <b>ThreadPrinting</b> option specifies whether the name of the current thread is part of log output or not. This is true by default. |
getThreadPrinting() X-Ref |
return: boolean Returns value of the <b>ThreadPrinting</b> option. |
setCategoryPrefixing($categoryPrefixing) X-Ref |
The <b>CategoryPrefixing</b> option specifies whether {@link Category} name is part of log output or not. This is true by default. |
getCategoryPrefixing() X-Ref |
return: boolean Returns value of the <b>CategoryPrefixing</b> option. |
setContextPrinting($contextPrinting) X-Ref |
The <b>ContextPrinting</b> option specifies log output will include the nested context information belonging to the current thread. This is true by default. |
getContextPrinting() X-Ref |
return: boolean Returns value of the <b>ContextPrinting</b> option. |
setMicroSecondsPrinting($microSecondsPrinting) X-Ref |
The <b>MicroSecondsPrinting</b> option specifies if microseconds infos should be printed at the end of timestamp. This is true by default. |
getMicroSecondsPrinting() X-Ref |
return: boolean Returns value of the <b>MicroSecondsPrinting</b> option. |
setDateFormat($dateFormat) X-Ref |
Pas de description |
getDateFormat() X-Ref |
return: string |
format($event) X-Ref |
In addition to the level of the statement and message, the returned string includes time, thread, category. <p>Time, thread, category are printed depending on options. param: LoggerLoggingEvent $event return: string |
ignoresThrowable() X-Ref |
Pas de description |
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |