photon / log-syslog
Syslog backend for photon log.
v1.0.1
2016-06-08 12:41 UTC
Requires
- photon/photon: ~1.0
This package is auto-updated.
Last update: 2024-12-10 19:06:27 UTC
README
Syslog backend for photon
Quick start
-
Add the module in your project
composer require "photon/log-syslog:dev-master"
or for a specific version
composer require "photon/log-syslog:1.0.0"
-
Add the log backend in photon configuration
'log_handlers' => array( '\photon\log\SyslogBackend', ),
-
Configure the backend
'log_syslog' => array( 'ident' => 'MyApp', 'facility' => LOG_USER, ),
-
Enjoy !