Improved error/exception handler and logging
This commit is contained in:
parent
a4b33b97d9
commit
1feb6d2ef6
3 changed files with 13 additions and 4 deletions
|
|
@ -44,7 +44,7 @@ if (!file_exists(dirname(__FILE__) . '/vendor/autoload.php') && defined('PHPCI_I
|
|||
require_once(dirname(__FILE__) . '/vendor/autoload.php');
|
||||
|
||||
$loggerConfig = LoggerConfig::newFromFile(__DIR__ . "/loggerconfig.php");
|
||||
Handler::register($loggerConfig->getFor('Exceptions'));
|
||||
Handler::register($loggerConfig->getFor('_'));
|
||||
|
||||
// Load configuration if present:
|
||||
$conf = array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue