This layout outputs events in a HTML table.
Configurable parameters for this layout are:
The corresponding XML file:
The above will print a HTML table that looks, converted back to plain text, like the following:
Log session start time Wed Sep 9 00:11:30 2009 Time Thread Level Category Message 0 8318 INFO root Hello World!
Located in /layouts/LoggerLayoutHtml.php (line 49)
LoggerConfigurable | --LoggerLayout | --LoggerLayoutHtml
The LocationInfo 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 LoggerAppenderMail or a LoggerAppenderMailEvent then make sure to set the LocationInfo option of that appender as well.
The Title option takes a String value. This option sets the document title of the generated HTML document.
Defaults to 'Log4php Log Messages'.
Returns the current value of the LocationInfo option.
The LocationInfo 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 LoggerAppenderMail or a LoggerAppenderMailEvent then make sure to set the LocationInfo option of that appender as well.
The Title option takes a String value. This option sets the document title of the generated HTML document.
Defaults to 'Log4php Log Messages'.
Inherited From LoggerLayout
LoggerLayout::activateOptions()
LoggerLayout::format()
LoggerLayout::getContentType()
LoggerLayout::getFooter()
LoggerLayout::getHeader()
LoggerLayout::warn()
Inherited From LoggerConfigurable
LoggerConfigurable::setBoolean()
LoggerConfigurable::setFileSize()
LoggerConfigurable::setInteger()
LoggerConfigurable::setLevel()
LoggerConfigurable::setNumeric()
LoggerConfigurable::setPositiveInteger()
LoggerConfigurable::setString()
LoggerConfigurable::warn()
Documentation generated on Sat, 18 Feb 2012 22:32:24 +0000 by phpDocumentor 1.4.3