Merge pull request #2081 from h3rald/patch-3
newRollingFileLogger - fmtStr is always set to defaultFmtStr
This commit is contained in:
commit
d020ad097c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue