summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-02-27 16:28:42 +0100
committerGitHub <noreply@github.com>2017-02-27 16:28:42 +0100
commit851ed66531e45be2a39f142a2919014b59e94fbb (patch)
treed0b4afddc1376c30e16635ef3f9aebdab54255f1
parent386efb464bb68633e781ab0ef615c0af858aa658 (diff)
parent2096d399b102f5798176aa1bc8d283cabae38291 (diff)
downloadNim-851ed66531e45be2a39f142a2919014b59e94fbb.tar.gz
Merge pull request #5445 from endragor/log-gcsafe
Explicitly mark log() method as gcsafe
-rw-r--r--lib/pure/logging.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/logging.nim b/lib/pure/logging.nim
index 65724f75a..598ee01d3 100644
--- a/lib/pure/logging.nim
+++ b/lib/pure/logging.nim
@@ -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.