diff --git a/src/agora/logging.py b/src/agora/logging.py index a004b0182363d495c32ffcb2edf9d51cd8875303..6eb1bea655c355ea8fa07dd157f602ac2444a645 100644 --- a/src/agora/logging.py +++ b/src/agora/logging.py @@ -1,14 +1,10 @@ -#!/usr/bin/env jupyter -""" -Add general logging functions and decorators -""" - import logging from time import perf_counter def timer(func): - # Log duration of a function into aliby logfile + """Log duration of a function into the aliby log file.""" + def wrap_func(*args, **kwargs): t1 = perf_counter() result = func(*args, **kwargs)