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;
    }
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;
    }
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 ; }
Write a message to the log writer.

@param mixed $message

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