Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

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

About

Adds logging of console exceptions to your Symfony2 application

Topics

Resources

Languages

You can’t perform that action at this time.