Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
0eb0d33573 |
@ -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"
|
||||
|
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user