Compare commits

...

1 Commits
1.0.0 ... main

2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Package
version = "1.0.0"
version = "1.0.1"
author = "Jonathan Bernard"
description = "Wrapper around std/logging to provide namespaced logging."
license = "MIT"

View File

@ -14,7 +14,7 @@ type
LogServiceConfig* = object
loggers*: seq[LoggerConfig]
appenders: seq[LogAppender]
appenders*: seq[LogAppender]
rootLevel*: Level
ThreadState = object
@ -155,7 +155,7 @@ func formatJsonStructuredLog*(msg: LogMessage): string {.gcsafe.} = return $(%ms
func initConsoleLogAppender*(
namespace = "",
threshold = lvlInfo,
threshold = lvlAll,
formatter = formatJsonStructuredLog,
useStderr = false): ConsoleLogAppender {.gcsafe.} =
result = ConsoleLogAppender(