caseycs / monolog-rethinkdb
RethinkDB handler for Monolog
0.1.1
2015-02-12 14:12 UTC
Requires
- danielmewes/php-rql: ~1.16
- monolog/monolog: ~1.12
Requires (Dev)
- fzaninotto/faker: ~1.4
This package is not auto-updated.
Last update: 2024-12-21 17:48:38 UTC
README
Installation
Execute:
$ composer require caseycs/monolog-rethinkdb
Or:
Add this lines to your composer.json:
{ "require": { "caseycs/monolog-rethinkdb": "~0.1" } }
And then execute:
$ php composer.phar install
Usage
<?php $connection = r\connect('localhost'); $connection->useDb('test'); $table = 'log'; new MonologRethinkDBHandler\Handler(Logger::INFO, true, $connection, $table); $log = new Logger('channel'); $log->pushHandler($handler);
Copyright
Copyright © 2015 Ilia Kondrashov, released under the MIT License.