private function __construct() { $this->errorLevel = Config::getErrorLoggingLevel(); $this->errorRender = Config::isErrorRender(); $this->errorFileLogging = Config::isErrorFileLogging(); set_error_handler(array($this, 'handleError')); register_shutdown_function(array($this, 'handleFatalError')); }
private function __construct() { $this->exceptionRender = Config::isErrorRender(); $this->exceptionFileLogging = Config::isErrorFileLogging(); set_exception_handler(array($this, 'handleException')); }