code: def log(self, message, level=logging.INFO, *args, **kwargs):
          
          msg = "{}.{}: {}[{}]: {}".format(
              self.__class__.__name__, self.status, self.__class__.path,
              self.uuid, message
          )
          extra = kwargs.pop("extra", dict())
          extra.update(dict(kmsg=Message(
              self.uuid, entrypoint=self.__class__.path, params=self.params,
              metadata=self.metadata
          ).dump()))
  
          return logger.log(
              level=level, msg=msg, extra=extra, *args, **kwargs
          )
docs: Send log entry
  
          :param str message: log message
          :param int level: `Logging level <https://docs.python.org/3/library/logging.html#levels>`_
          :param list args: log record arguments
          :param dict kwargs: log record key argument