core/oxpspaymorrowlogger.php
protected function _getFormattedContents( $sLogDirectoryPath, $sFileName, $sFormat )
    {
        $sFilePath = $sLogDirectoryPath . '/' . $sFileName;

        if ( in_array( $sFileName, array('.', '..', '.htaccess') ) or !is_file( $sFilePath ) ) {
            return '';
        }

        $this->setFileName( $sFileName );

        return sprintf( $sFormat, $sFileName, $this->getContents() );
    }
protected function _getFormattedContents( $sLogDirectoryPath, $sFileName, $sFormat )
    {
        $sFilePath = $sLogDirectoryPath . '/' . $sFileName;

        if ( in_array( $sFileName, array('.', '..', '.htaccess') ) or !is_file( $sFilePath ) ) {
            return '';
        }

        $this->setFileName( $sFileName );

        return sprintf( $sFormat, $sFileName, $this->getContents() );
    }
protected function _getFormattedContents ( $ sLogDirectoryPath , $ sFileName , $ sFormat ) { $ sFilePath = $ sLogDirectoryPath . '/' . $ sFileName ; if ( in_array ( $ sFileName , array ( '.' , '..' , '.htaccess' ) ) or ! is_file ( $ sFilePath ) ) { return '' ; } $ this -> setFileName ( $ sFileName ) ; return sprintf ( $ sFormat , $ sFileName , $ this -> getContents ( ) ) ; }
Get formatted log file content.

@param string $sLogDirectoryPath Log folder path.
@param string $sFileName         Log file name.
@param string $sFormat           Output format string.

@return string
Get formatted log file content .