mirror of
https://github.com/deavmi/nostril
synced 2024-09-20 06:03:12 +02:00
Use gogga logger
This commit is contained in:
parent
8781368d3c
commit
76ae699aa4
1
dub.json
1
dub.json
@ -5,6 +5,7 @@
|
|||||||
"copyright": "Copyright © 2023, Tristan B. Velloza Kildaire",
|
"copyright": "Copyright © 2023, Tristan B. Velloza Kildaire",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dlog": "~>0.0.6",
|
"dlog": "~>0.0.6",
|
||||||
|
"gogga": "~>1.0.0",
|
||||||
"vibe-d": "~>0.9.5"
|
"vibe-d": "~>0.9.5"
|
||||||
},
|
},
|
||||||
"description": "A minimal D application.",
|
"description": "A minimal D application.",
|
||||||
|
@ -2,15 +2,17 @@ import std.stdio;
|
|||||||
|
|
||||||
import vibe.vibe;
|
import vibe.vibe;
|
||||||
import std.json;
|
import std.json;
|
||||||
import dlog : DefaultLogger, DLogger = Logger;
|
|
||||||
|
import gogga;
|
||||||
|
|
||||||
// TODO: Investigate if we need the belowe (I copied it from Birchwood)
|
// TODO: Investigate if we need the belowe (I copied it from Birchwood)
|
||||||
__gshared DLogger logger;
|
__gshared GoggaLogger logger;
|
||||||
__gshared static this()
|
__gshared static this()
|
||||||
{
|
{
|
||||||
logger = new DefaultLogger();
|
logger = new GoggaLogger();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles an incoming websocket connection
|
* Handles an incoming websocket connection
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user