deltakit.explorer.Logging.warn#

static Logging.warn(message: str, uid: str)#

This method is used to log warnings during the API method invocation. This method should be used after info_and_generate_uid(), and requires a uid as an argument:

uid = Logging.info_and_generate_uid(locals())
...
Logging.warn("Your message", uid)
Parameters:
  • message (str) – warning message

  • uid (str) – unique string, result of info_and_generate_uid()