library/helpers/ExceptionLogFileHelper.php
protected function getExceptionLinesFromLogFile()
    {
        $exceptionLogLines = file($this->exceptionLogFile, FILE_IGNORE_NEW_LINES);
        if (false === $exceptionLogLines) {
            throw new \OxidEsales\Eshop\Core\Exception\StandardException('File ' . $this->exceptionLogFile . ' could not be read');
        }

        $exceptionEntries = array_filter(
            $exceptionLogLines,
            function ($entry) {
                return false !== strpos($entry, '.ERROR') && false !== strpos($entry, 'Exception');
            }
        );

        return $exceptionEntries;
    }
protected function getExceptionLinesFromLogFile()
    {
        $exceptionLogLines = file($this->exceptionLogFile, FILE_IGNORE_NEW_LINES);
        if (false === $exceptionLogLines) {
            throw new \OxidEsales\Eshop\Core\Exception\StandardException('File ' . $this->exceptionLogFile . ' could not be read');
        }

        $exceptionEntries = array_filter(
            $exceptionLogLines,
            function ($entry) {
                return false !== strpos($entry, '.ERROR') && false !== strpos($entry, 'Exception');
            }
        );

        return $exceptionEntries;
    }
protected function getExceptionLinesFromLogFile ( ) { $ exceptionLogLines = file ( $ this -> exceptionLogFile , FILE_IGNORE_NEW_LINES ) ; if ( false === $ exceptionLogLines ) { throw new \ OxidEsales \ Eshop \ Core \ Exception \ StandardException ( 'File ' . $ this -> exceptionLogFile . ' could not be read' ) ; } $ exceptionEntries = array_filter ( $ exceptionLogLines , function ( $ entry ) { return false !== strpos ( $ entry , '.ERROR' ) && false !== strpos ( $ entry , 'Exception' ) ; } ) ; return $ exceptionEntries ; }
Return an array, which only contains the lines with information about the exception, not the whole stacktrace

@return array

@throws \OxidEsales\Eshop\Core\Exception\StandardException
Return an array which only contains the lines with information about the exception not the whole stacktrace