Adds logging of console exceptions to your Symfony2 application
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DependencyInjection
EventListener
Resources/config
spec/Catchamonkey/Bundle/ConsoleLoggerBundle/EventListener
.gitignore
.travis.yml
CatchamonkeyConsoleLoggerBundle.php
README.md
composer.json

README.md

##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