def debug_list_log()

in util.py [0:0]


def debug_list_log(msg, list=None, log_method:Callable = None):
    if log_method is None:
        log_method = logging.debug

    log_method(msg)
    if list is not None:
        for list_item in list:
            log_method(list_item)