original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Write a message to the log file configured.
  
  @param string $message
  
  @return $this
  @throws \Parable\Log\Exception
docstring_tokens: Write a message to the log file configured .