public function write($message)
    {
        if (!$this->logFile) {
            throw new \Parable\Log\Exception("No log file set. \Log\Writer\File requires a valid target file.");
        }
        $this->writeToFile($message);
        return $this;
    }
public function write($message)
    {
        if (!$this->logFile) {
            throw new \Parable\Log\Exception("No log file set. \Log\Writer\File requires a valid target file.");
        }
        $this->writeToFile($message);
        return $this;
    }
public function write ( $ message ) { if ( ! $ this -> logFile ) { throw new \ Parable \ Log \ Exception ( "No log file set. \Log\Writer\File requires a valid target file." ) ; } $ this -> writeToFile ( $ message ) ; return $ this ; }
Write a message to the log file configured.

@param string $message

@return $this
@throws \Parable\Log\Exception
Write a message to the log file configured .