Download the PHP package samdark/yii2-psr-log-target without Composer
On this page you can find all versions of the php package samdark/yii2-psr-log-target. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
All versions of yii2-psr-log-target with dependencies
Informations about the package yii2-psr-log-target
Yii 2 PSR Log Target
Allows you to process logs using any PSR-3 compatible logger such as Monolog.
In order to use
PsrTarget you should configure your
log application component like the following:
Usage with PSR logger levels:
Usage with original timestamp from context in the log:
You can use PsrMessage instead of regular string messages to add custom context.
Usage with PSR logger Levels:
Usage with PSR-3 log message processing:
In order to run tests perform the following commands: