()
Configure the logger to log debug logs.
Configure the logger to log debug logs.
Configure the logger to log debug logs .
def configure_logger_debug():
    """Configure the logger to log debug logs."""
    logging.basicConfig()
    logger.setLevel(logging.DEBUG)
    logger_formatter = logging.Formatter(
        '[%(asctime)s] %(name)s/%(levelname)s %(message)s '
        '<%(module)s/%(funcName)s>')
    for handler in logger.parent.handlers:
        handler.setFormatter(logger_formatter)
def configure_logger_debug ( ) : logging . basicConfig ( ) logger . setLevel ( logging . DEBUG ) logger_formatter = logging . Formatter ( '[%(asctime)s] %(name)s/%(levelname)s %(message)s ' '<%(module)s/%(funcName)s>' ) for handler in logger . parent . handlers : handler . setFormatter ( logger_formatter )