diff --git a/hff_notion_api_client.nimble b/hff_notion_api_client.nimble index f88e461..57bb473 100644 --- a/hff_notion_api_client.nimble +++ b/hff_notion_api_client.nimble @@ -1,6 +1,6 @@ # Package -version = "0.4.3" +version = "0.4.4" author = "Jonathan Bernard" description = "Utilities and bindings for HFF's Notion API." license = "GPL-3.0-or-later" @@ -11,4 +11,4 @@ srcDir = "src" requires "nim >= 1.4.8" requires "https://git.jdb-software.com/jdb/buffoonery" requires "https://git.jdb-software.com/jdb/nim-time-utils.git >= 0.5.0" -requires "https://git.jdb-software.com/jdb/nim-namespaced-logging" +requires "https://git.jdb-software.com/jdb/nim-namespaced-logging.git >= 0.3.1" diff --git a/src/hff_notion_api_client/utils.nim b/src/hff_notion_api_client/utils.nim index 36982d4..082b34b 100644 --- a/src/hff_notion_api_client/utils.nim +++ b/src/hff_notion_api_client/utils.nim @@ -8,7 +8,7 @@ const NOTION_DATE_FORMAT = "YYYY-MM-dd" var logNs {.threadvar.}: LoggingNamespace template log(): untyped = - if logNs.isNil: logNs = initLoggingNamespace("hff_notion_api_client/utils", lvlInfo) + if logNs.isNil: logNs = getLoggerForNamespace("hff_notion_api_client/utils", lvlInfo) logNs proc parseDate(str: string): DateTime =