diff --git a/dub.json b/dub.json index 3c67c3d..c3d0a8b 100644 --- a/dub.json +++ b/dub.json @@ -4,7 +4,7 @@ ], "copyright": "Copyright © 2023, Tristan B. Velloza Kildaire", "dependencies": { - "gogga": "2.1.1", + "gogga": "2.1.2", "vibe-d": "~>0.9.5" }, "description": "A minimal D application.", diff --git a/source/nostril/logging.d b/source/nostril/logging.d index 8165cc8..f4a6587 100644 --- a/source/nostril/logging.d +++ b/source/nostril/logging.d @@ -1,11 +1,12 @@ module nostril.logging; +import gogga; + // NOTE: If we include threads then use `__gshared` so we have // ... one logger for the whole threadgroup and not a per-TLS // ... (per-thread) logger (as we do below) private mixin template LoggerSetup() { - import gogga; GoggaLogger logger; static this() { @@ -15,6 +16,8 @@ private mixin template LoggerSetup() { logger.enableDebug(); } + + logger.mode(GoggaMode.TwoKTwenty3); } }