psd / psd-logger
Logger package based on symfony/monolog for all psd applications with symfony
2.0.2
2020-02-03 16:19 UTC
Requires
- php: >=5.6
- ext-json: *
- symfony/monolog-bundle: ^3.1.0
This package is not auto-updated.
Last update: 2025-06-19 14:46:18 UTC
README
Install
if composer not available
curl -sS https://getcomposer.org/installer | php
composer require psd/psd-logger
or
Make additions to composer.json
- add "psd/psd-logger": "1.0.*" in the required block
and call
composer install
Configure the application
Update the the log_formatter class entry in the services.yml to
services:
[...]
logformatter:
class: PsdLogger\LogFormatter
config:
[...]
monolog:
handlers:
main:
[...]
formatter: logformatter
stream:
[...]
formatter: logformatter