Merge pull request #2080 from Araq/revert-2079-patch-2
Revert "newRollingFileLogger - fmtStr is always set to defaultFmtStr"
This commit is contained in:
commit
6597bef8d9
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ proc newRollingFileLogger*(filename = defaultFilename(),
|
||||||
## a new log file will be started and the old will be renamed.
|
## a new log file will be started and the old will be renamed.
|
||||||
new(result)
|
new(result)
|
||||||
result.levelThreshold = levelThreshold
|
result.levelThreshold = levelThreshold
|
||||||
result.fmtStr = fmtStr
|
result.fmtStr = defaultFmtStr
|
||||||
result.maxLines = maxLines
|
result.maxLines = maxLines
|
||||||
result.f = open(filename, mode)
|
result.f = open(filename, mode)
|
||||||
result.curLine = 0
|
result.curLine = 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue