Simple VT100 colourised thread safe pretty printer for debug messages
Go to file
Tristan B. Velloza Kildaire c66689d056
Merge pull request #1 from deavmi/rustacena_simple
Add simpler logger type
2023-11-22 11:51:35 +02:00
.github/workflows Create d.yml 2023-03-25 22:43:57 +02:00
branding Branding 2023-03-02 12:05:47 +02:00
source/gogga Core (unit tests) 2023-11-22 11:50:48 +02:00
.gitignore - Updated .gitignore 2023-03-01 10:15:56 +02:00
LICENSE Update LICENSE 2023-03-02 16:20:08 +02:00
README.md Update README.md 2023-03-25 22:45:12 +02:00
dub.json Dub 2023-06-18 13:28:32 +02:00
example.png - Added usage 2023-03-02 13:00:00 +02:00

README.md


Simple VT100 colourised pretty-printing logger




D

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.