catchamonkey/console-logger-bundle

Symfony2 bundles that adds logging of exceptions thrown in console commands.

v1.0.0 2014-08-20 09:57 UTC

This package is not auto-updated.

Last update: 2024-11-19 03:20:32 UTC


README

##CatchamonkeyConsoleLoggerBundle

Build Status
Scrutinizer
SensioLabsInsight

Symfony2 bundles that adds logging of exceptions thrown in console commands

##Installation

Step 1) Download

Download the bundle using Composer:

composer require "catchamonkey/console-logger-bundle"

This will be installed into your vendor directory

Step 2) Register the Bundle in your kernel

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Catchamonkey\Bundle\ConsoleLoggerBundle\CatchamonkeyConsoleLoggerBundle(),
    );
}

And your done! You will now see that exceptions from console commands are logged at error level via monolog