def METHOD_NAME(self, event):
    log.error("An error")
    log.info("An info with an url http://test")
    log.warning("A warning with a long long long longlong longlong longlong longlong longlong longlong longlong long message")
    self._dialog.update()