Class LoggerLayoutSimple

(line 26)
LoggerLayout
   |
   --LoggerLayoutSimple

Located in File: Program_Root/layout/LoggerLayoutSimple.php


A simple layout.

Class Variable Summary

Inherited Class Variable Summary

Method Summary
void constructor LoggerLayoutSimple ( )
void activateOptions ( )
string format ( $event )
Returns the log statement in a format consisting of the
level
, followed by " - " and then the
message
.
Inherited Method Summary
Inherited From Class LoggerLayout
Function Description
LoggerLayout::activateOptions()
LoggerLayout::factory()
LoggerLayout::format() Override this method to create your own layout format.
LoggerLayout::getContentType() Returns the content type output by this layout.
LoggerLayout::getFooter() Returns the footer for the layout format.
LoggerLayout::getHeader() Returns the header for the layout format.

Method Detail

Constructor LoggerLayoutSimple

(line 28)

void LoggerLayoutSimple( )


Function Info:

[ Top ]


activateOptions

(line 33)

void activateOptions( )

Overrides LoggerLayout::activateOptions() (parent method not documented)


Function Info:

[ Top ]


format

(line 46)

string format( mixed $event)

Overrides LoggerLayout::format() (Override this method to create your own layout format.)

Returns the log statement in a format consisting of the
level
, followed by " - " and then the
message
.

For example,

 INFO - "A message" 
<p>The
category
parameter is ignored. <p>

Function Info:

[ Top ]



Variable Detail


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