docs: def log(self):
          """Log stuff.
          """
          with Subscribe(services=[""], addr_listener=True) as sub:
              for msg in sub.recv(1):
                  if msg:
                      if msg.type in ["log.debug", "log.info",
                                      "log.warning", "log.error",
                                      "log.critical"]:
                          getattr(LOGGER, msg.type[4:])(msg.subject + " " +
                                                        msg.sender + " " +
                                                        str(msg.data) + " " +
                                                        str(msg.time))
  
                      elif msg.binary:
                          LOGGER.debug("%s %s %s [binary] %s", msg.subject,
                                       msg.sender,
                                       msg.type,
                                       str(msg.time))
                      else:
                          LOGGER.debug("%s %s %s %s %s", msg.subject,
                                       msg.sender,
                                       msg.type,
                                       str(msg.data),
                                       str(msg.time))
                  if not self.loop:
                      LOGGER.info("Stop logging")
                      break