vision_unlearning.utils.logger

Attributes

FORMATTER

Functions

get_logger(→ logging.Logger)

setup_loggers(→ None)

Module names are matched with "contains"

Module Contents

vision_unlearning.utils.logger.FORMATTER
vision_unlearning.utils.logger.get_logger(name: str, level=logging.INFO) logging.Logger[source]
vision_unlearning.utils.logger.setup_loggers(root_level: int = logging.WARNING, modules_debug: List[str] = [], modules_info: List[str] = ['vision_unlearning'], modules_warning: List[str] = [], modules_error: List[str] = []) None[source]

Module names are matched with “contains” for example: azure. will match all azure modules

All non-specified modules go to WARNING

You should called it in the main file of your application, after all imports caveat: imports done after this call will not be affected