function paintError($message) { $this->captureStart(); $this->logger->paintError($message); $this->captureStop(); }