src/ErrorHandler.php
public function PHPExceptionHandler($exception)
    {
        session_write_close();
        $message = $exception->getMessage() . ' | File: {file} | Ln: {line} | ST: {stacktrace}';
        $context = array(
            'file' => $exception->getFile(),
            'line' => $exception->getLine(),
            'stacktrace' => $exception->getTraceAsString()
        );
        $this->logger->log($this->exceptionLogLevel, $message, $context);
    }
public function PHPExceptionHandler($exception)
    {
        session_write_close();
        $message = $exception->getMessage() . ' | File: {file} | Ln: {line} | ST: {stacktrace}';
        $context = array(
            'file' => $exception->getFile(),
            'line' => $exception->getLine(),
            'stacktrace' => $exception->getTraceAsString()
        );
        $this->logger->log($this->exceptionLogLevel, $message, $context);
    }
public function PHPExceptionHandler ( $ exception ) { session_write_close ( ) ; $ message = $ exception -> getMessage ( ) . ' | File: {file} | Ln: {line} | ST: {stacktrace}' ; $ context = array ( 'file' => $ exception -> getFile ( ) , 'line' => $ exception -> getLine ( ) , 'stacktrace' => $ exception -> getTraceAsString ( ) ) ; $ this -> logger -> log ( $ this -> exceptionLogLevel , $ message , $ context ) ; }
Logger provided uncaught Exception handler
Logger provided uncaught Exception handler