Skip to content

otobank/monolog-fluent-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monolog Fluent Handler

Latest Stable Version Total Downloads Latest Unstable Version License Build Status Coverage Status Dependency Status

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 - [email protected] - https://github.com/riaf

License

Licensed under the MIT License - see the LICENSE file for details


OTOBANK Inc.

About

Monolog handler for Fluent.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages