aboutsummaryrefslogtreecommitdiff
path: root/src/Logging.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-11 17:17:43 +0100
committerGravatar jesopo2019-10-11 17:17:43 +0100
commit82f77472c6097781e8cc5241e932b0aebfffb325 (patch)
treec000fea51342bc5a1ea23a899892ced08da502cb /src/Logging.py
parentadd setup.py (diff)
signature
'test_handler' -> 'hook_handler'
Diffstat (limited to 'src/Logging.py')
-rw-r--r--src/Logging.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Logging.py b/src/Logging.py
index 9d24fce0..b40ec698 100644
--- a/src/Logging.py
+++ b/src/Logging.py
@@ -43,10 +43,10 @@ class Log(object):
stdout_handler.setFormatter(formatter)
self.logger.addHandler(stdout_handler)
- test_handler = HookedHandler(self._on_log)
- test_handler.setLevel(LEVELS["debug"])
- test_handler.setFormatter(formatter)
- self.logger.addHandler(test_handler)
+ hook_handler = HookedHandler(self._on_log)
+ hook_handler.setLevel(LEVELS["debug"])
+ hook_handler.setFormatter(formatter)
+ self.logger.addHandler(hook_handler)
if to_file:
trace_path = os.path.join(location, "trace.log")