Description

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 {@link PHP_MANUAL#date} function for details.

Configurable parameters for this layout are: - {@link $threadPrinting} (true|false) enable/disable pid reporting. - {@link $categoryPrefixing} (true|false) enable/disable logger category reporting. - {@link $contextPrinting} (true|false) enable/disable NDC reporting. - {@link $microSecondsPrinting} (true|false) enable/disable micro seconds reporting in timestamp. - {@link $dateFormat} (string) set date format. See php {@link PHP_MANUAL#date} function for details.

An example how to use this layout:

{@example ../../examples/php/layout_ttcc.php 19}

{@example ../../examples/resources/layout_ttcc.properties 18}

The above would print:
02:28 [13714] INFO root - Hello World!

Type hierarchy

seidemann-web/fact-finder-php-library dev-master 1.3.1.1
sportpursuit/fact-finder-php-library dev-master 1.3.1
vasily-kartashov/log4php 2.3.0
wccplatform/log4php dev-master 2.3.0
braga/log4php dev-master 2.3.0
info2soft/log4php dev-master 2.3.0
seidemann-web/fact-finder-php-library dev-master 1.3.1.1
sportpursuit/fact-finder-php-library dev-master 1.3.1
wccplatform/log4php 2.3.0
braga/log4php dev-master 2.3.0
info2soft/log4php dev-master 2.3.0

Class usage:

This class is not referred by any other class/interface/traits in packagist packages.