@ -1,9 +1,10 @@
import time
import functools
import logging
import threading
import warnings
def log_decorator(func):
def wrapper(*args, **kwargs):
logging.info(f'Entering {func.__name__}')
@ -2,8 +2,11 @@ import logging
logger = logging.getLogger()
formatter = logging.Formatter("%(message)s")
ch = logging.StreamHandler()
ch.setFormatter(formatter)
logger.addHandler(ch)
logger.setLevel(logging.DEBUG)