stmllr/typo3-zahnstocher

This package is abandoned and no longer maintained. No replacement package was suggested.

Zahnstocher (en. toothpick) helps you when piercing into programming code.

Installs: 328

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 1

Open Issues: 1

Type:typo3-cms-extension

0.2.0 2018-11-07 17:33 UTC

This package is auto-updated.

Last update: 2021-02-06 12:57:45 UTC


README

Zahnstocher (en. toothpick) is a TYPO3 extension which helps you piercing into TYPO3 code.

Features

TYPO3 6.x: Enhanced IntrospectionProcessor for the Logging API

This processor allows to add a stacktrace from where the log record comes from. It was backported from TYPO3 7.x

$GLOBALS['TYPO3_CONF_VARS']['LOG']['processorConfiguration'] = [
		\TYPO3\CMS\Core\Log\LogLevel::DEBUG => [
			\Stmllr\Zahnstocher\Log\Processor\IntrospectionProcessor::class => [
				'appendFullBackTrace' => TRUE,
				'shiftBackTraceLevel' => 4,
			],
		],
	],
];

FileWriter which uses print_r instead of json to format its data.

Provides a better readability when watching the log on the command line.

$GLOBALS['TYPO3_CONF_VARS']['LOG']['writerConfiguration'] = [
		\TYPO3\CMS\Core\Log\LogLevel::DEBUG => [
			\Stmllr\Zahnstocher\Log\\Writer\FileWriter::class => [
				'logFile' => 'typo3temp/logs/typo3.log'
			],
		],
	],
];