original_string: public function write($message)
      {
          if (!$this->writer) {
              throw new \Parable\Log\Exception("Can't write without a valid \Log\Writer instance set.");
          }
          $message = $this->stringifyMessage($message);
  
          $this->writer->write($message);
          return $this;
      }
code: public function write($message)
      {
          if (!$this->writer) {
              throw new \Parable\Log\Exception("Can't write without a valid \Log\Writer instance set.");
          }
          $message = $this->stringifyMessage($message);
  
          $this->writer->write($message);
          return $this;
      }
code_tokens: public function write ( $ message ) { if ( ! $ this -> writer ) { throw new \ Parable \ Log \ Exception ( "Can't write without a valid \Log\Writer instance set." ) ; } $ message = $ this -> stringifyMessage ( $ message ) ; $ this -> writer -> write ( $ message ) ; return $ this ; }
docstring: Write a message to the log writer.
  
  @param mixed $message
  
  @return $this
  @throws \Parable\Log\Exception
docstring_tokens: Write a message to the log writer .