Class LoggerLayoutHtml

Description

This layout outputs events in a HTML table.

This layout outputs events in a HTML table. Parameters are: $title, $locationInfo.

Located in Program_Root/log4php/layouts/LoggerLayoutHtml.php (line 56)

LoggerLayout
   |
   --LoggerLayoutHtml
Variable Summary
boolean $locationInfo
string $title
Method Summary
LoggerLayoutHtml LoggerLayoutHtml ()
void activateOptions ()
string format (LoggerLoggingEvent $event)
string getContentType ()
string getFooter ()
string getHeader ()
void getLocationInfo ()
string getTitle ()
void setLocationInfo (mixed $flag)
void setTitle (mixed $title)
Variables
boolean $locationInfo = false (line 70)

The LocationInfo option takes a boolean value. default, it is set to false which means there will be no location information output by this layout. true, then the file name and line number of the statement at the origin of the log statement will be output.

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. 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.

string $title = "Log4php Log Messages" (line 78)

The Title option takes a String value. document title of the generated HTML document.

The Title option takes a String value. This option sets the document title of the generated HTML document. Defaults to 'Log4php Log Messages'.

Methods
Constructor LoggerLayoutHtml (line 83)

Constructor

Constructor

LoggerLayoutHtml LoggerLayoutHtml ()
activateOptions (line 145)

No options to activate.

No options to activate.

void activateOptions ()

Redefinition of:
LoggerLayout::activateOptions()
Override this method
format (line 154)
string format (LoggerLoggingEvent $event)

Redefinition of:
LoggerLayout::format()
Override this method to create your own layout format.
getContentType (line 137)
  • return: Returns the content type output by this layout, i.e "text/html".
string getContentType ()

Redefinition of:
LoggerLayout::getContentType()
Returns the content type output by this layout.
getFooter (line 249)
  • return: Returns the appropriate HTML footers.
string getFooter ()

Redefinition of:
LoggerLayout::getFooter()
Returns the footer for the layout format.
getHeader (line 215)
  • return: Returns appropriate HTML headers.
string getHeader ()

Redefinition of:
LoggerLayout::getHeader()
Returns the header for the layout format.
getLocationInfo (line 111)

Returns the current value of the LocationInfo option.

Returns the current value of the LocationInfo option.

void getLocationInfo ()
getTitle (line 129)
  • return: Returns the current value of the Title option.
string getTitle ()
setLocationInfo (line 99)

The LocationInfo option takes a boolean value. default, it is set to false which means there will be no location information output by this layout. true, then the file name and line number of the statement at the origin of the log statement will be output.

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. 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.

void setLocationInfo (mixed $flag)
setTitle (line 121)

The Title option takes a String value. document title of the generated HTML document.

The Title option takes a String value. This option sets the document title of the generated HTML document. Defaults to 'Log4php Log Messages'.

void setTitle (mixed $title)

Inherited Methods

Inherited From LoggerLayout

LoggerLayout::activateOptions()
LoggerLayout::factory()
LoggerLayout::format()
LoggerLayout::getContentType()
LoggerLayout::getFooter()
LoggerLayout::getHeader()

Documentation generated on Wed, 10 Sep 2003 22:44:38 +0200 by phpDocumentor 1.2.2