mirror of
https://github.com/deavmi/gogga.git
synced 2024-12-18 04:14:57 +00:00
Simple VT100 colourised thread safe pretty printer for debug messages
|
||
---|---|---|
.github/workflows | ||
branding | ||
source/gogga | ||
.gitignore | ||
dub.json | ||
example.png | ||
LICENSE | ||
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.