diff --git a/chronicles.nim b/chronicles.nim index 7b184e3..3a22f4f 100644 --- a/chronicles.nim +++ b/chronicles.nim @@ -72,7 +72,7 @@ macro logScopeIMPL(prevScopes: typed, let activeScope = id("activeChroniclesScope", isPublic) result.add quote do: - template `activeScope` {.used.} = + template `activeScope` {.redefine, used.} = `newRevision` `newAssingments` @@ -411,4 +411,4 @@ logFn fatal , LogLevel.FATAL # * dynamic scope overrides (plus maybe an option to control the priority # between dynamic and lexical bindings) # -# * implement some of the leading standardized structured logging formats +# * implement some of the leading standardized structured logging formats \ No newline at end of file