Merge pull request #2081 from h3rald/patch-3

newRollingFileLogger - fmtStr is always set to defaultFmtStr
This commit is contained in:
Dominik Picheta
2015-02-06 22:05:10 +00:00

View File

@@ -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