bd808/monolog-udp2log-handler

A handler for Monolog that emits udp2log datagrams.

v1.0.1 2015-02-26 05:01 UTC

This package is auto-updated.

Last update: 2024-12-04 08:08:38 UTC


README

Monolog handler that replicates the behavior of the MediaWiki wfErrorLog() logging system. Log output can be directed to a local file, a PHP stream, or a udp2log server.

Build Status

Installation

udp2log-monolog-handler is available on Packagist (bd808/udp2log-monolog-handler) and is installable via Composer.

{
  "require": {
    "bd808/udp2log-monolog-handler": "dev-master"
  }
}

If you do not use Composer, you can get the source from GitHub and use any PSR-4 compatible autoloader.

$ git clone https://github.com/bd808/udp2log-monolog-handler.git

Run the tests

Tests are automatically performed by Travis CI: Build Status

curl -sS https://getcomposer.org/installer | php
php composer.phar install --dev
phpunit