photon/log-syslog

Syslog backend for photon log.

v1.0.1 2016-06-08 12:41 UTC

This package is auto-updated.

Last update: 2024-12-10 19:06:27 UTC


README

Build Status

Syslog backend for photon

Quick start

  1. 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"
  1. Add the log backend in photon configuration

    'log_handlers' => array( '\photon\log\SyslogBackend', ),

  2. Configure the backend

    'log_syslog' => array( 'ident' => 'MyApp', 'facility' => LOG_USER, ),

  3. Enjoy !