Skip to content

lelivrescolaire/MonologExtraBundle

Repository files navigation

LeLivreScolaire

Monolog Extra Bundle Build Status Coverage Status

Extend your Monolog stack with some missing tools.

Installation

$ composer require "lelivrescolaire/monolog-extra-bundle:dev-master"

AppKernel:

public function registerBundles()
{
    $bundles = array(
        new LLS\Bundle\MonologExtraBundle\LLSMonologExtraBundle(),
    );
}

Configuration reference

lls_monolog_extra:
    handlers:           # Create custom handlers
        sqs_handler:
            type: sqs       # Handler using Queue from SQSBundle
            queue: myQueue  # Queue identifier
            level: INFO     # Log level (int or label)
            bubble: true    # Whether or not execute next handlers

monolog:
    handlers:
        sqs:
            type:     service
            id:       lls_monolog_extra.handlers.sqs_handler  # Auto generated service
            priority: 0

Read more documentation here

Contribution

Feel free to send us Pull Requests and Issues with your fixs and features.

Run test

Unit tests

$ ./bin/atoum

Coding standards

$ ./bin/coke

About

Customize monolog usage in your symfony 2 application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages