Download the PHP package ssch/t3-psr3-log-processor without Composer
On this page you can find all versions of the php package ssch/t3-psr3-log-processor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ssch/t3-psr3-log-processor
More information about ssch/t3-psr3-log-processor
Files in ssch/t3-psr3-log-processor
Package t3-psr3-log-processor
Short Description Provide PSR-3 interpolate log processor
License GPL-2.0+
Homepage http://www.schreibersebastian.de
Informations about the package t3-psr3-log-processor
TYPO3 PSR-3 Log Processor
https://www.php-fig.org/psr/psr-3/#12-message
Integration guide
The extension ships with a custom Processor to substitute log messages with context variables in the message. Let´s say you have a log message with the following format:
In that case the {placeholder} of the message will be substituted by "bar" when processed by the PsrLogProcessor shipped with the extension.
In order to activate the Processor you can configure it i.e. via ext_localconf.php
https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Logging/Configuration/Index.html#processor-configuration
Credits
This LogProcessor is heavily inspired by the Processor of monolog/monolog