mirror of
https://github.com/deavmi/gogga.git
synced 2025-02-26 07:40:32 +00:00
Simple VT100 colourised thread safe pretty printer for debug messages
- `debug(...)` will now only print if debugging is enabled Unit tests - Updated unit tests to test debugging, cleaned up |
||
---|---|---|
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: