class dbgLogger():
  def debug(self, verbose : bool = False):
    if verbose ==True:
      import logging,requests,urllib3
      import http.client as http_client
      http_client.HTTPConnection.debuglevel = 1
      #logging.basicConfig()
      #logging.getLogger().setLevel(logging.DEBUG)
      requests_log = logging.getLogger("requests.packages.urllib3")
      requests_log.setLevel(logging.DEBUG)
      requests_log.propagate = True