protected function setErrorHandlers()
    {
        register_shutdown_function(array($this->logger, 'shutdownHandler'));
        set_exception_handler(array($this->logger, 'exceptionHandler'));
        set_error_handler(array($this->logger, 'errorHandler'), error_reporting());
    }
protected function setErrorHandlers()
    {
        register_shutdown_function(array($this->logger, 'shutdownHandler'));
        set_exception_handler(array($this->logger, 'exceptionHandler'));
        set_error_handler(array($this->logger, 'errorHandler'), error_reporting());
    }
protected function setErrorHandlers ( ) { register_shutdown_function ( array ( $ this -> logger , 'shutdownHandler' ) ) ; set_exception_handler ( array ( $ this -> logger , 'exceptionHandler' ) ) ; set_error_handler ( array ( $ this -> logger , 'errorHandler' ) , error_reporting ( ) ) ; }
Sets PHP error handlers
Sets PHP error handlers