Fixes docgen for logging module.
This commit is contained in:
parent
ef44d90c8d
commit
69bc077937
1 changed files with 2 additions and 2 deletions
|
|
@ -106,10 +106,10 @@ proc substituteLog(frmt: string): string =
|
||||||
of "appname": result.add(app.splitFile.name)
|
of "appname": result.add(app.splitFile.name)
|
||||||
|
|
||||||
method log*(logger: PLogger, level: TLevel,
|
method log*(logger: PLogger, level: TLevel,
|
||||||
frmt: string, args: varargs[string, `$`]) =
|
frmt: string, args: varargs[string, `$`]) {.raises: [EBase], tags: [FTime, FWriteIO, FReadIO].} =
|
||||||
## Override this method in custom loggers. Default implementation does
|
## Override this method in custom loggers. Default implementation does
|
||||||
## nothing.
|
## nothing.
|
||||||
nil
|
discard
|
||||||
|
|
||||||
method log*(logger: PConsoleLogger, level: TLevel,
|
method log*(logger: PConsoleLogger, level: TLevel,
|
||||||
frmt: string, args: varargs[string, `$`]) =
|
frmt: string, args: varargs[string, `$`]) =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue