Merge pull request #5445 from endragor/log-gcsafe
Explicitly mark log() method as gcsafe
This commit is contained in:
commit
851ed66531
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ proc substituteLog*(frmt: string, level: Level, args: varargs[string, `$`]): str
|
|||
result.add(arg)
|
||||
|
||||
method log*(logger: Logger, level: Level, args: varargs[string, `$`]) {.
|
||||
raises: [Exception],
|
||||
raises: [Exception], gcsafe,
|
||||
tags: [TimeEffect, WriteIOEffect, ReadIOEffect], base.} =
|
||||
## Override this method in custom loggers. Default implementation does
|
||||
## nothing.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue