Use ChromePhpHandler

This commit is contained in:
Michael RICOIS 2017-02-20 12:07:51 +01:00
parent 98378fa6df
commit 2346302684

View File

@ -2,7 +2,7 @@
use Monolog\Logger; use Monolog\Logger;
use Monolog\Handler\StreamHandler; use Monolog\Handler\StreamHandler;
use Monolog\Processor\IntrospectionProcessor; use Monolog\Processor\IntrospectionProcessor;
use Monolog\Handler\BrowserConsoleHandler; use Monolog\Handler\ChromePHPHandler;
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{ {
@ -115,7 +115,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
// Console Handler // Console Handler
if (in_array(APPLICATION_ENV, array('development', 'staging'))) { if (in_array(APPLICATION_ENV, array('development', 'staging'))) {
$log->pushHandler(new BrowserConsoleHandler()); $log->pushHandler(new ChromePHPHandler());
} }
// File Handler // File Handler