Use ChromePhpHandler
This commit is contained in:
parent
98378fa6df
commit
2346302684
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user