Hi All,
I have the following logging service setup in my services.php. My question is basically how do I stop the firePHP output from displaying using a boolean flag?
$di->set('logger',function() use($config){
$logger = new Phalcon\Logger\Adapter\Firephp('debug', null); // null
//$logger->setEnabled($config->debug); // this only works when including the fire.php file
//$logger->log('Logging enabled...'); // use this to display arrays
// how do i disable the logging?
return $logger;
});
Any advice / help greatly appreciated.
Thanks