public function setDir($sDir = '')
    {
        //  Reset the log exists var so that line() checks again
        $this->oLog->exists = false;

        // --------------------------------------------------------------------------

        if (!empty($sDir) && substr($sDir, 0, 1) === '/') {
            $this->oLog->dir = $sDir;
        } elseif (!empty($sDir)) {
            $this->oLog->dir = DEPLOY_LOG_DIR . $sDir;
        } else {
            $this->oLog->dir = DEPLOY_LOG_DIR;
        }
    }