core/oxpspaymorrowlogger.php
public function getErrorLogPath()
    {
        $sLogPath = $this->_sErrorLogPath;

        if ( !is_dir( $sLogPath ) ) {
            mkdir( $sLogPath, 0777, true );
        }

        return $sLogPath;
    }
public function getErrorLogPath()
    {
        $sLogPath = $this->_sErrorLogPath;

        if ( !is_dir( $sLogPath ) ) {
            mkdir( $sLogPath, 0777, true );
        }

        return $sLogPath;
    }
public function getErrorLogPath ( ) { $ sLogPath = $ this -> _sErrorLogPath ; if ( ! is_dir ( $ sLogPath ) ) { mkdir ( $ sLogPath , 0777 , true ) ; } return $ sLogPath ; }
Get error log directory full path.
Also creates missing log folders is needed.

@return bool|string
Get error log directory full path . Also creates missing log folders is needed .