diff --git a/dub.json b/dub.json index 7654efd..ff2d2c1 100644 --- a/dub.json +++ b/dub.json @@ -5,6 +5,7 @@ "copyright": "Copyright © 2023, Tristan B. Velloza Kildaire", "dependencies": { "dlog": "~>0.0.6", + "gogga": "~>1.0.0", "vibe-d": "~>0.9.5" }, "description": "A minimal D application.", diff --git a/source/app.d b/source/app.d index 7d7cc28..3d81d9d 100644 --- a/source/app.d +++ b/source/app.d @@ -2,15 +2,17 @@ import std.stdio; import vibe.vibe; import std.json; -import dlog : DefaultLogger, DLogger = Logger; + +import gogga; // TODO: Investigate if we need the belowe (I copied it from Birchwood) -__gshared DLogger logger; +__gshared GoggaLogger logger; __gshared static this() { - logger = new DefaultLogger(); + logger = new GoggaLogger(); } + /** * Handles an incoming websocket connection