fixed log*(logger: RollingFileLogger, level: Level,
frmt: string, args: varargs[string, ])
This commit is contained in:
parent
d6c957e9b4
commit
8132723317
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ method log*(logger: RollingFileLogger, level: Level,
|
|||
logger.curLine = 0
|
||||
logger.f = open(logger.baseName, logger.baseMode)
|
||||
|
||||
writeln(logger.f, LevelNames[level], " ", frmt % args)
|
||||
writeln(logger.f, LevelNames[level], " ",substituteLog(logger.fmtStr), frmt % args)
|
||||
logger.curLine.inc
|
||||
|
||||
# --------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue