From 1c884e5c2d201fd5f6cdb3b9f1917d9e5eee0bcf Mon Sep 17 00:00:00 2001 From: Bjoern Riemer Date: Wed, 13 Jan 2016 12:22:24 +0100 Subject: add timestamps agrument to LogHandler constructor --- voctocore/lib/loghandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'voctocore') 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)) -- cgit v1.2.3