_cookies[domain] = cookies
- logger.debug(f"EXIT!")
+ logger.debug("EXIT!")
def get_all(domain: str) -> dict:
- logger.debug(f"domain='{domain}' - CALLED!")
+ logger.debug("domain(%d)='%s' - CALLED!", len(domain), domain)
if not isinstance(domain, str):
raise ValueError(f"Parameter domain[]='{type(domain)}' is not 'str'")
elif domain == "":
return _cookies[domain]
def has (domain: str) -> bool:
- logger.debug(f"domain='{domain}' - CALLED!")
+ logger.debug("domain(%d)='%s' - CALLED!", len(domain), domain)
if not isinstance(domain, str):
raise ValueError(f"Parameter domain[]='{type(domain)}' is not 'str'")
elif domain == "":
return has_cookies
def clear (domain: str):
- logger.debug(f"domain='{domain}' - CALLED!")
+ logger.debug("domain(%d)='%s' - CALLED!", len(domain), domain)
if not isinstance(domain, str):
raise ValueError(f"Parameter domain[]='{type(domain)}' is not 'str'")
elif domain == "":
logger.debug(f"Removing cookies for domain='{domain}' ...")
del _cookies[domain]
- logger.debug(f"EXIT!")
+ logger.debug("EXIT!")