core/oxpspaymorrowlogger.php
public function getContents()
    {
        $sErrorLogPath = $this->getErrorLogPathWithName();

        $sLog = '';

        if ( is_file( $sErrorLogPath ) ) {
            $fErrorLog = fopen( $sErrorLogPath, "r" );

            while ( !feof( $fErrorLog ) ) {
                $sLog .= trim( fgets( $fErrorLog, 4096 ) ) . PHP_EOL;
            }

            fclose( $fErrorLog );
        }

        return $sLog;
    }
public function getContents()
    {
        $sErrorLogPath = $this->getErrorLogPathWithName();

        $sLog = '';

        if ( is_file( $sErrorLogPath ) ) {
            $fErrorLog = fopen( $sErrorLogPath, "r" );

            while ( !feof( $fErrorLog ) ) {
                $sLog .= trim( fgets( $fErrorLog, 4096 ) ) . PHP_EOL;
            }

            fclose( $fErrorLog );
        }

        return $sLog;
    }
public function getContents ( ) { $ sErrorLogPath = $ this -> getErrorLogPathWithName ( ) ; $ sLog = '' ; if ( is_file ( $ sErrorLogPath ) ) { $ fErrorLog = fopen ( $ sErrorLogPath , "r" ) ; while ( ! feof ( $ fErrorLog ) ) { $ sLog .= trim ( fgets ( $ fErrorLog , 4096 ) ) . PHP_EOL ; } fclose ( $ fErrorLog ) ; } return $ sLog ; }
Get error log file contents.

@return string
Get error log file contents .