mirror of https://github.com/deavmi/gogga.git
Tristan B. Velloza Kildaire
974e8cf019
* Core - Work-in-progress mixin * Core - Fixed imports Test - Out of module test added * Core - Cleaned up mixins * Core - Documented * Test - Documented * Test - made private * Core - Renamed to `LoggingFuncs` * Test - Use new name `LoggingFuncs` * Core - Cleanedxc uop * Extras - Added new package * Core - Moved * Test - Moved * Extras (unittests) - Cleaned up tests * Test - Cleaned up tests |
||
---|---|---|
.github/workflows | ||
branding | ||
source/gogga | ||
.gitignore | ||
LICENSE | ||
README.md | ||
dub.json | ||
example.png |
README.md
Simple VT100 colourised pretty-printing logger
Usage
The API is rather straight-forward, simply create a new logger and then you can use it as such:
import gogga;
GoggaLogger gLogger = new GoggaLogger();
gLogger.info("This is an info message");
gLogger.warn("This is a warning message");
gLogger.error("This is an error message");
This should output something like the following:
Various styles are supported which can be set using mode(GoggaMode)
.
Or you can also View the full API.