Class LoggerLayout

(line 22)

Classes extended from LoggerLayout:

LoggerXmlLayout
The output of the XMLLayout consists of a series of log4php:event elements. It does not output a complete well-formed XML file.
LoggerLayoutSimple
A simple layout.
LoggerLayoutTTCC
TTCC layout format consists of time, thread, category and nested
LoggerLayoutHtml
This layout outputs events in a HTML table.

Located in File: Program_Root/LoggerLayout.php


Extend this abstract class to create your own log layout format.

Class Variable Summary

Inherited Class Variable Summary

Method Summary
void activateOptions ( )
void &factory ( $class )
void format ( $event )
Override this method to create your own layout format.
void getContentType ( )
Returns the content type output by this layout.
void getFooter ( )
Returns the footer for the layout format.
void getHeader ( )
Returns the header for the layout format.
Inherited Method Summary

Method Detail

activateOptions

(line 31)

void activateOptions( )

Overridden in child classes as:

LoggerXmlLayout::activateOptions()
No options to activate.
LoggerLayoutSimple::activateOptions()
LoggerLayoutHtml::activateOptions()
No options to activate.


Function Info:

[ Top ]


factory

(line 24)

void &factory( mixed $class)


Function Info:

[ Top ]


format

(line 39)

void format( mixed $event)

Overridden in child classes as:

LoggerXmlLayout::format()
Formats a LoggerEvent in conformance with the log4j.dtd.
LoggerLayoutSimple::format()
Returns the log statement in a format consisting of the
level
, followed by " - " and then the
message
.
LoggerLayoutTTCC::format()
In addition to the level of the statement and message, the
LoggerLayoutHtml::format()

Override this method to create your own layout format.
Function Info:

[ Top ]


getContentType

(line 47)

void getContentType( )

Overridden in child classes as:

LoggerLayoutHtml::getContentType()
Returns the content type output by this layout, i.e "text/html".

Returns the content type output by this layout.
Function Info:

[ Top ]


getFooter

(line 55)

void getFooter( )

Overridden in child classes as:

LoggerLayoutHtml::getFooter()
Returns the appropriate HTML footers.

Returns the footer for the layout format.
Function Info:

[ Top ]


getHeader

(line 63)

void getHeader( )

Overridden in child classes as:

LoggerLayoutHtml::getHeader()
Returns appropriate HTML headers.

Returns the header for the layout format.
Function Info:

[ Top ]



Variable Detail


Documention generated on Thu, 20 Feb 2003 15:43:05 +0100 by phpDocumentor 1.2.0rc1