def append(self, message_level, message_text):
        """ Adds a message level/text pair to this MessagesHeader """
        if not message_level in MessagesHeader._message_levels:
            raise ValueError('message_level="%s"' % message_level)
        self._messages.append((message_level, message_text))
Adds a message level/text pair to this MessagesHeader