summaryrefslogtreecommitdiff
path: root/voctocore
diff options
context:
space:
mode:
authorBjoern Riemer <bjoern.riemer@tu-berlin.de>2016-01-13 12:22:24 +0100
committerBjoern Riemer <bjoern.riemer@tu-berlin.de>2016-01-13 12:22:24 +0100
commit1c884e5c2d201fd5f6cdb3b9f1917d9e5eee0bcf (patch)
tree5e772e40d276753b25988173cef0e93cf864400b /voctocore
parent4eb1cf8ae0ddb19514b789199cc195f811702975 (diff)
add timestamps agrument to LogHandler constructor
Diffstat (limited to 'voctocore')
-rw-r--r--voctocore/lib/loghandler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/voctocore/lib/loghandler.py b/voctocore/lib/loghandler.py
index 7bfc669..d2fcb13 100644
--- a/voctocore/lib/loghandler.py
+++ b/voctocore/lib/loghandler.py
@@ -38,6 +38,6 @@ class LogFormatter(logging.Formatter):
class LogHandler(logging.StreamHandler):
- def __init__(self, docolor):
+ def __init__(self, docolor, timestamps):
super().__init__()
- self.setFormatter(LogFormatter(docolor))
+ self.setFormatter(LogFormatter(docolor,timestamps))