Class LoggerLayout

Description

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

  • version: $Revision: 1213283 $
  • abstract:

Located in /LoggerLayout.php (line 27)

LoggerConfigurable
   |
   --LoggerLayout
Direct descendents
Class Description
LoggerLayoutXml The output of the LoggerXmlLayout consists of a series of log4php:event elements.
LoggerLayoutTTCC TTCC layout format consists of time, thread, category and nested diagnostic context information, hence the name.
LoggerLayoutSimple A simple layout.
LoggerLayoutHtml This layout outputs events in a HTML table.
LoggerLayoutPattern A flexible layout configurable with pattern string.
LoggerLayoutSerialized Layout which formats the events using PHP's serialize() function.
Method Summary
void activateOptions ()
string format (LoggerLoggingEvent $event)
string getContentType ()
string getFooter ()
string getHeader ()
void warn ( $message)
Methods
activateOptions (line 32)

Activates options for this layout.

Override this method if you have options to be activated.

  • access: public
void activateOptions ()

Redefined in descendants as:
format (line 42)

Override this method to create your own layout format.

  • access: public
string format (LoggerLoggingEvent $event)

Redefined in descendants as:
getContentType (line 50)

Returns the content type output by this layout.

  • access: public
string getContentType ()

Redefined in descendants as:
getFooter (line 58)

Returns the footer for the layout format.

  • access: public
string getFooter ()

Redefined in descendants as:
getHeader (line 66)

Returns the header for the layout format.

  • access: public
string getHeader ()

Redefined in descendants as:
warn (line 71)

Triggers a warning for this layout with the given message.

  • access: protected
void warn ( $message)
  • $message

Redefinition of:
LoggerConfigurable::warn()
Triggers a warning.

Inherited Methods

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