[ 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: | 256 lignes (9 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
LoggerLayoutHtml:: (10 méthodes):
LoggerLayoutHtml()
setLocationInfo()
getLocationInfo()
setTitle()
getTitle()
getContentType()
activateOptions()
format()
getHeader()
getFooter()
Classe: LoggerLayoutHtml - X-Ref
This layout outputs events in a HTML table.LoggerLayoutHtml() X-Ref |
Constructor |
setLocationInfo($flag) X-Ref |
The <b>LocationInfo</b> option takes a boolean value. By default, it is set to false which means there will be no location information output by this layout. If the the option is set to true, then the file name and line number of the statement at the origin of the log statement will be output. <p>If you are embedding this layout within a {@link LoggerAppenderMail} or a {@link LoggerAppenderMailEvent} then make sure to set the <b>LocationInfo</b> option of that appender as well. |
getLocationInfo() X-Ref |
Returns the current value of the <b>LocationInfo</b> option. |
setTitle($title) X-Ref |
The <b>Title</b> option takes a String value. This option sets the document title of the generated HTML document. Defaults to 'Log4php Log Messages'. |
getTitle() X-Ref |
return: string Returns the current value of the <b>Title</b> option. |
getContentType() X-Ref |
return: string Returns the content type output by this layout, i.e "text/html". |
activateOptions() X-Ref |
No options to activate. |
format($event) X-Ref |
param: LoggerLoggingEvent $event return: string |
getHeader() X-Ref |
return: string Returns appropriate HTML headers. |
getFooter() X-Ref |
return: string Returns the appropriate HTML footers. |
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |