Lots of work for ISHLT badge printing.

This commit is contained in:
Scott Idem
2023-02-01 17:57:22 -05:00
parent a9f0e2bf3d
commit a176248104
6 changed files with 332 additions and 161 deletions

View File

@@ -85,7 +85,8 @@ def logger_reset(func):
# log.info(locals())
@functools.wraps(func)
def wrapper(*args, **kwargs):
log.info(f'*** Function: "{func.__name__}()"')
if func.__name__ not in ['redis_lookup_id_random']:
log.info(f'*** Function: "{func.__name__}()"')
log.debug(f'*** Function Positional Args: {args}\nFunction Key Args: {kwargs}')
init_log_level = log.level
returned_result = func(*args, **kwargs)