otobank / monolog-fluent-handler
Installs: 11 976
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 30
Forks: 2
Open Issues: 0
Requires
- php: >=5.4
- fluent/logger: ^0.3
- monolog/monolog: 1.*
Requires (Dev)
- phpunit/phpunit: >=4.3
This package is auto-updated.
Last update: 2024-10-29 04:41:55 UTC
README
Monolog handler for Fluent.
Usage
<?php use Monolog\Logger; use Otobank\Monolog\Handler\FluentHandler; $logger = new Logger('name'); $logger->pushHandler(new FluentHandler()); $logger->alert('Something wrong.');
Symfony
example) app/config/config.yml
services: acme.monolog.fluent_handler: class: Otobank\Monolog\Handler\FluentHandler arguments: - "%acme.fluent.uri%" monolog: handlers: fluent: type: service id: acme.monolog.fluent_handler level: debug
Installation
composer require otobank/monolog-fluent-handler
Author
SATO Keisuke - ksato@otobank.co.jp - https://github.com/riaf
License
Licensed under the MIT License - see the LICENSE file for details
OTOBANK Inc.