Class LoggerLayoutTTCC

(line 41)
LoggerLayout
   |
   --LoggerLayoutTTCC

Located in File: Program_Root/layout/LoggerLayoutTTCC.php


TTCC layout format consists of time, thread, category and nested

diagnostic context information, hence the name. <p>Each of the four fields can be individually enabled or disabled. The time format depends on the

DateFormat
used.


Class Variable Summary
$categoryPrefixing
Default Value: ->true<-
$contextPrinting
Default Value: ->true<-
$dateFormat
Default Value: ->%c<-
$threadPrinting
Default Value: ->true<-

Inherited Class Variable Summary

Method Summary
void constructor LoggerLayoutTTCC ( [$dateFormat = ''] )
Constructor
void format ( $event )
In addition to the level of the statement and message, the
void getCategoryPrefixing ( )
Returns value of the CategoryPrefixing option.
void getContextPrinting ( )
Returns value of the ContextPrinting option.
void getDateFormat ( )
void getThreadPrinting ( )
Returns value of the ThreadPrinting option.
void ignoresThrowable ( )
void setCategoryPrefixing ( $categoryPrefixing )
The CategoryPrefixing option specifies whether Category name is part of log output or not.
void setContextPrinting ( $contextPrinting )
The ContextPrinting option specifies log output will include
void setDateFormat ( $dateFormat )
void setThreadPrinting ( $threadPrinting )
The ThreadPrinting option specifies whether the name of the current thread is part of log output or not.
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 LoggerLayoutTTCC

(line 59)

void LoggerLayoutTTCC( [string $dateFormat = ''])

Constructor
Function Parameters:
- string $dateFormat: date format
Function Info:
see - LoggerLayoutTTCC::$dateFormat

[ Top ]


format

(line 130)

void format( mixed $event)

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

In addition to the level of the statement and message, the

returned string includes time, thread, category. <p>Time, thread, category are printed depending on options.

Function Info:

[ Top ]


getCategoryPrefixing

(line 94)

void getCategoryPrefixing( )

Returns value of the CategoryPrefixing option.
Function Info:

[ Top ]


getContextPrinting

(line 110)

void getContextPrinting( )

Returns value of the ContextPrinting option.
Function Info:

[ Top ]


getDateFormat

(line 120)

void getDateFormat( )


Function Info:

[ Top ]


getThreadPrinting

(line 78)

void getThreadPrinting( )

Returns value of the ThreadPrinting option.
Function Info:

[ Top ]


ignoresThrowable

(line 149)

void ignoresThrowable( )


Function Info:

[ Top ]


setCategoryPrefixing

(line 86)

void setCategoryPrefixing( mixed $categoryPrefixing)

The CategoryPrefixing option specifies whether Category name is part of log output or not.

This is true by default.

Function Info:

[ Top ]


setContextPrinting

(line 103)

void setContextPrinting( mixed $contextPrinting)

The ContextPrinting option specifies log output will include

the nested context information belonging to the current thread. This is true by default.

Function Info:

[ Top ]


setDateFormat

(line 115)

void setDateFormat( mixed $dateFormat)


Function Info:

[ Top ]


setThreadPrinting

(line 70)

void setThreadPrinting( mixed $threadPrinting)

The ThreadPrinting option specifies whether the name of the current thread is part of log output or not.

This is true by default.

Function Info:

[ Top ]



Variable Detail

$categoryPrefixing

(line 45)
Data type: mixed

[ Top ]

$contextPrinting

(line 46)
Data type: mixed

[ Top ]

$dateFormat

(line 51)
Data type: string

[ Top ]

$threadPrinting

(line 44)
Data type: mixed

[ Top ]



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