diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2015-02-06 21:31:05 +0000 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2015-02-06 21:31:05 +0000 |
commit | 6597bef8d97e2cf8b32723d0f7c8fbb0f7f48f58 (patch) | |
tree | 8cfc73464077dc22c103df98812bb9d78ea3df7e | |
parent | 8ee08c54fc6185767eb6c390a992648911492960 (diff) | |
parent | 335c3e2b819bf3e190869dc432a9809c004557f1 (diff) | |
download | Nim-6597bef8d97e2cf8b32723d0f7c8fbb0f7f48f58.tar.gz |
Merge pull request #2080 from Araq/revert-2079-patch-2
Revert "newRollingFileLogger - fmtStr is always set to defaultFmtStr"
-rw-r--r-- | lib/pure/logging.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/logging.nim b/lib/pure/logging.nim index 82e1025bb..9247f69c5 100644 --- a/lib/pure/logging.nim +++ b/lib/pure/logging.nim @@ -183,7 +183,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 = fmtStr + result.fmtStr = defaultFmtStr result.maxLines = maxLines result.f = open(filename, mode) result.curLine = 0 |