mirror of https://github.com/deavmi/gogga.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 days ago | |
---|---|---|
.github/workflows | 5 days ago | |
branding | 4 weeks ago | |
source/gogga | 4 weeks ago | |
.gitignore | 4 weeks ago | |
LICENSE | 4 weeks ago | |
README.md | 5 days ago | |
dub.json | 3 weeks ago | |
example.png | 4 weeks ago |
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.