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;
    }