Fix default prefix format.

This commit is contained in:
jdb committed 2022-11-03 15:14:43 -05:00
1 parent c0f818ef30
commit f3dbac0896
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ proc getLoggerForNamespace*(
if msgPrefix.isSome:
return initLoggingNamespace(namespace, level, msgPrefix.get)
else:
return initLoggingNamespace(namespace, level, namespace)
return initLoggingNamespace(namespace, level, namespace & ": ")
proc setLevelForNamespace*(namespace: string, lvl: Level, recursive = false) =
if recursive: