catchamonkey/console-logger-bundle
Composer 安装命令:
composer require catchamonkey/console-logger-bundle
包简介
Symfony2 bundles that adds logging of exceptions thrown in console commands.
README 文档
README
##CatchamonkeyConsoleLoggerBundle
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
统计信息
- 总下载量: 1.54k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-18