src/ErrorHandler.php
public function PHPShutdownHandler()
    {
        session_write_close();
        if ($lasterror = error_get_last()) {
            $message = $lasterror['message'] . ' | File: {file} | Ln: {line}';
            $context = array(
                'file' => $lasterror['file'],
                'line' => $lasterror['line']
            );
            $this->logger->log($this->shutdownLogLevel, $message, $context);
        }
    }
public function PHPShutdownHandler()
    {
        session_write_close();
        if ($lasterror = error_get_last()) {
            $message = $lasterror['message'] . ' | File: {file} | Ln: {line}';
            $context = array(
                'file' => $lasterror['file'],
                'line' => $lasterror['line']
            );
            $this->logger->log($this->shutdownLogLevel, $message, $context);
        }
    }
public function PHPShutdownHandler ( ) { session_write_close ( ) ; if ( $ lasterror = error_get_last ( ) ) { $ message = $ lasterror [ 'message' ] . ' | File: {file} | Ln: {line}' ; $ context = array ( 'file' => $ lasterror [ 'file' ] , 'line' => $ lasterror [ 'line' ] ) ; $ this -> logger -> log ( $ this -> shutdownLogLevel , $ message , $ context ) ; } }
Logger provided shutdown handler
Logger provided shutdown handler