public function writeLines(array $messages)
    {
        if (!$this->writer) {
            throw new \Parable\Log\Exception("Can't writeLines without a valid \Log\Writer instance set.");
        }
        foreach ($messages as $message) {
            $this->write($message);
        }
        return $this;
    }
public function writeLines(array $messages)
    {
        if (!$this->writer) {
            throw new \Parable\Log\Exception("Can't writeLines without a valid \Log\Writer instance set.");
        }
        foreach ($messages as $message) {
            $this->write($message);
        }
        return $this;
    }
public function writeLines ( array $ messages ) { if ( ! $ this -> writer ) { throw new \ Parable \ Log \ Exception ( "Can't writeLines without a valid \Log\Writer instance set." ) ; } foreach ( $ messages as $ message ) { $ this -> write ( $ message ) ; } return $ this ; }
Write an array of messages to the log writer.

@param array $messages

@return $this
@throws \Parable\Log\Exception
Write an array of messages to the log writer .