Class LoggerLayout

Description

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

  • author: Marco Vassura
  • version: $Revision: 556784 $
  • abstract:

Located in /LoggerLayout.php (line 25)


	
			
Direct descendents
Class Description
LoggerPatternLayout A flexible layout configurable with pattern string.
LoggerLayoutTTCC TTCC layout format consists of time, thread, category and nested diagnostic context information, hence the name.
LoggerLayoutSimple A simple layout.
LoggerXmlLayout The output of the LoggerXmlLayout consists of a series of log4php:event elements.
LoggerLayoutHtml This layout outputs events in a HTML table.
Method Summary
static LoggerLayout factory (string $class)
void activateOptions ()
string format (LoggerLoggingEvent $event)
string getContentType ()
string getFooter ()
string getHeader ()
Methods
static method factory (line 33)

Creates LoggerLayout instances with the given class name.

  • access: public
static LoggerLayout factory (string $class)
  • string $class
activateOptions (line 48)

Override this method

  • abstract:
void activateOptions ()

Redefined in descendants as:
format (line 56)

Override this method to create your own layout format.

  • access: public
string format (LoggerLoggingEvent $event)

Redefined in descendants as:
getContentType (line 65)

Returns the content type output by this layout.

  • access: public
string getContentType ()

Redefined in descendants as:
getFooter (line 74)

Returns the footer for the layout format.

  • access: public
string getFooter ()

Redefined in descendants as:
getHeader (line 83)

Returns the header for the layout format.

  • access: public
string getHeader ()

Redefined in descendants as:

Documentation generated by phpDocumentor 1.3.2