core/oxpspaymorrowlogger.php
public function getAllContents()
    {
        $sLog    = '';
        $sFormat = "----------------------------------------------------------------------\n" .
                   "%s\n" .
                   "----------------------------------------------------------------------\n\n" .
                   "%s\n\n";

        $sLogDirectoryPath = $this->getErrorLogPath();
        $hDir              = @opendir( $sLogDirectoryPath );

        if ( !empty( $hDir ) ) {
            while ( false !== ( $sFileName = readdir( $hDir ) ) ) {
                $sLog .= $this->_getFormattedContents( $sLogDirectoryPath, $sFileName, $sFormat );
            }
        }

        return $sLog;
    }
public function getAllContents()
    {
        $sLog    = '';
        $sFormat = "----------------------------------------------------------------------\n" .
                   "%s\n" .
                   "----------------------------------------------------------------------\n\n" .
                   "%s\n\n";

        $sLogDirectoryPath = $this->getErrorLogPath();
        $hDir              = @opendir( $sLogDirectoryPath );

        if ( !empty( $hDir ) ) {
            while ( false !== ( $sFileName = readdir( $hDir ) ) ) {
                $sLog .= $this->_getFormattedContents( $sLogDirectoryPath, $sFileName, $sFormat );
            }
        }

        return $sLog;
    }
public function getAllContents ( ) { $ sLog = '' ; $ sFormat = "----------------------------------------------------------------------\n" . "%s\n" . "----------------------------------------------------------------------\n\n" . "%s\n\n" ; $ sLogDirectoryPath = $ this -> getErrorLogPath ( ) ; $ hDir = @ opendir ( $ sLogDirectoryPath ) ; if ( ! empty ( $ hDir ) ) { while ( false !== ( $ sFileName = readdir ( $ hDir ) ) ) { $ sLog .= $ this -> _getFormattedContents ( $ sLogDirectoryPath , $ sFileName , $ sFormat ) ; } } return $ sLog ; }
Get all error log files contents.

@return string
Get all error log files contents .