mirror of https://github.com/deavmi/gogga.git
Compare commits
4 Commits
ea5625942d
...
952cb79034
Author | SHA1 | Date |
---|---|---|
|
952cb79034 | |
|
7b0d88cead | |
|
3e3355eb12 | |
|
05c74b1aa4 |
2
dub.json
2
dub.json
|
@ -7,7 +7,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dlog": ">=1.0.0"
|
"dlog": ">=1.0.0"
|
||||||
},
|
},
|
||||||
"description": "Simple VT100 colourised pretty-printing logger",
|
"description": "Plug-and-play colorful VT100 logging for your terminal",
|
||||||
"license": "LGPL 3.0",
|
"license": "LGPL 3.0",
|
||||||
"name": "gogga",
|
"name": "gogga",
|
||||||
"targetType": "library"
|
"targetType": "library"
|
||||||
|
|
|
@ -81,10 +81,10 @@ unittest
|
||||||
|
|
||||||
mixin LoggingFuncs!(gLogger);
|
mixin LoggingFuncs!(gLogger);
|
||||||
|
|
||||||
DEBUG("fok", 2,2);
|
DEBUG("This is debug", 2.3, true, [2,2]);
|
||||||
ERROR("fok", 2,2);
|
ERROR("This is error", 2.3, true, [2,2]);
|
||||||
INFO("fok", 2,2);
|
INFO("This is info", 2.3, true, [2,2]);
|
||||||
WARN("fok", 2,2);
|
WARN("This is warn", 2.3, true, [2,2]);
|
||||||
|
|
||||||
writeln();
|
writeln();
|
||||||
}
|
}
|
|
@ -21,10 +21,10 @@ private unittest
|
||||||
|
|
||||||
mixin LoggingFuncs!(gLogger);
|
mixin LoggingFuncs!(gLogger);
|
||||||
|
|
||||||
DEBUG("fok", 2,2);
|
DEBUG("This is debug", 2.3, true, [2,2]);
|
||||||
ERROR("fok", 2,2);
|
ERROR("This is error", 2.3, true, [2,2]);
|
||||||
INFO("fok", 2,2);
|
INFO("This is info", 2.3, true, [2,2]);
|
||||||
WARN("fok", 2,2);
|
WARN("This is warn", 2.3, true, [2,2]);
|
||||||
|
|
||||||
writeln();
|
writeln();
|
||||||
}
|
}
|
Loading…
Reference in New Issue