bd808 / monolog-udp2log-handler
A handler for Monolog that emits udp2log datagrams.
Installs: 3 282
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.3.0
- monolog/monolog: ~1.6
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2024-11-04 07:55:48 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.
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:
curl -sS https://getcomposer.org/installer | php
php composer.phar install --dev
phpunit