public function setLogFile($logFile)
    {
        if (!$this->createfile($logFile)) {
            throw new \Parable\Log\Exception("Log file is not writable.");
        }

        $this->logFile = $logFile;
        return $this;
    }
public function setLogFile($logFile)
    {
        if (!$this->createfile($logFile)) {
            throw new \Parable\Log\Exception("Log file is not writable.");
        }

        $this->logFile = $logFile;
        return $this;
    }
public function setLogFile ( $ logFile ) { if ( ! $ this -> createfile ( $ logFile ) ) { throw new \ Parable \ Log \ Exception ( "Log file is not writable." ) ; } $ this -> logFile = $ logFile ; return $ this ; }
Set the log file to write to.

@param string $logFile

@return $this
@throws \Parable\Log\Exception
Set the log file to write to .