diff --git a/src/namespaced_logging.nim b/src/namespaced_logging.nim index 88fd39a..54b5d18 100644 --- a/src/namespaced_logging.nim +++ b/src/namespaced_logging.nim @@ -440,7 +440,7 @@ proc log*(l: Logger, lvl: Level, msg: JsonNode) {.gcsafe.} = error: none[ref Exception](), timestamp: now(), message: - if msg.hasKey("msg"): msg["msg"].getStr + if msg.hasKey("message"): msg["message"].getStr else: "", additionalData: msg))