2017 © Pedro Peláez
 

library monolog-extra-bundle

Customize monolog usage in your symfony 2 application.

image

lelivrescolaire/monolog-extra-bundle

Customize monolog usage in your symfony 2 application.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 5 % Grown

The README.md

LeLivreScolaire, (*1)

Monolog Extra Bundle Build Status Coverage Status

Extend your Monolog stack with some missing tools., (*2)

Installation

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

AppKernel:, (*3)

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, (*4)

Contribution

Feel free to send us Pull Requests and Issues with your fixs and features., (*5)

Run test

Unit tests

$ ./bin/atoum

Coding standards

$ ./bin/coke

The Versions