Revert "newRollingFileLogger - fmtStr is always set to defaultFmtStr"
This commit is contained in:
parent
8ee08c54fc
commit
335c3e2b81
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