From 99b14c8d8d189987d0478263c50c7d2b0dc0e625 Mon Sep 17 00:00:00 2001 From: Fabio Cevasco Date: Fri, 6 Feb 2015 22:40:21 +0100 Subject: newRollingFileLogger - fmtStr is always set to defaultFmtStr --- lib/pure/logging.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/logging.nim b/lib/pure/logging.nim index bb1835ed7..de733b75c 100644 --- a/lib/pure/logging.nim +++ b/lib/pure/logging.nim @@ -186,7 +186,7 @@ proc newRollingFileLogger*(filename = defaultFilename(), ## a new log file will be started and the old will be renamed. new(result) result.levelThreshold = levelThreshold - result.fmtStr = defaultFmtStr + result.fmtStr = fmtStr result.maxLines = maxLines result.f = open(filename, mode) result.curLine = 0 -- cgit 1.4.1-2-gfad0