TTCC layout format consists of time, thread, category and nested diagnostic context information, hence the name.
TTCC layout format consists of time, thread, category and nested diagnostic context information, hence the name. Each of the four fields can be individually enabled or disabled. The time format depends on the DateFormat used.
If no dateFormat is specified it defaults to '%c'. See php http://www.php.net/date function for details.
Params:
Located in Program_Root/log4php/layouts/LoggerLayoutTTCC.php (line 80)
LoggerLayout | --LoggerLayoutTTCC
Constructor
Constructor
In addition to the level of the statement and message, the returned string includes time, thread, category.
In addition to the level of the statement and message, the returned string includes time, thread, category. Time, thread, category are printed depending on options.
The CategoryPrefixing option specifies whether Category name is part of log output or not.
The CategoryPrefixing option specifies whether Category name is part of log output or not. This is true by default.
The ContextPrinting option specifies log output will include the nested context information belonging to the current thread.
The ContextPrinting option specifies log output will include the nested context information belonging to the current thread. This is true by default.
The MicroSecondsPrinting option specifies if microseconds infos should be printed at the end of timestamp.
The MicroSecondsPrinting option specifies if microseconds infos should be printed at the end of timestamp. This is true by default.
The ThreadPrinting option specifies whether the name of the current thread is part of log output or not.
The ThreadPrinting option specifies whether the name of the current thread is part of log output or not. This is true by default.
Inherited From LoggerLayout
LoggerLayout::activateOptions()
LoggerLayout::factory()
LoggerLayout::format()
LoggerLayout::getContentType()
LoggerLayout::getFooter()
LoggerLayout::getHeader()
Documentation generated on Wed, 3 Sep 2003 01:02:34 +0200 by phpDocumentor 1.2.2