mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 03:02:31 +00:00
Merge pull request #2080 from Araq/revert-2079-patch-2
Revert "newRollingFileLogger - fmtStr is always set to defaultFmtStr"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user