LoggerLayout | --LoggerLayoutTTCC
Located in File: Program_Root/layout/LoggerLayoutTTCC.php
diagnostic context information, hence the name. <p>Each of the four fields can be individually enabled or disabled. The time format depends on the used.DateFormat
$Revision: 1.4 $Marco Vassura| Class Variable Summary |
$categoryPrefixing
Default Value:
|
$contextPrinting
Default Value:
|
$dateFormat
Default Value:
|
$threadPrinting
Default Value:
|
| 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
|
| Method Detail |
void LoggerLayoutTTCC( [string $dateFormat = ''])
Constructor- string $dateFormat: date formatLoggerLayoutTTCC::$dateFormat[ Top ]
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, thereturned string includes time, thread, category. <p>Time, thread, category are printed depending on options.
[ Top ]
void getCategoryPrefixing( )
Returns value of the CategoryPrefixing option.[ Top ]
void getContextPrinting( )
Returns value of the ContextPrinting option.[ Top ]
void getDateFormat( )
[ Top ]
void getThreadPrinting( )
Returns value of the ThreadPrinting option.[ Top ]
void ignoresThrowable( )
[ Top ]
void setCategoryPrefixing( mixed $categoryPrefixing)
The CategoryPrefixing option specifies whether Category name is part of log output or not.This is true by default.
[ Top ]
void setContextPrinting( mixed $contextPrinting)
The ContextPrinting option specifies log output will includethe nested context information belonging to the current thread. This is true by default.
[ Top ]
void setDateFormat( mixed $dateFormat)
[ Top ]
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.
[ Top ]
| Variable Detail |
[ Top ]
[ Top ]
date format. See http://php.net/strftime for details[ Top ]
[ Top ]