Simple VT100 colourised thread safe pretty printer for debug messages
Go to file
Tristan B. Velloza Kildaire 7686ac9b40 GoggaLogger
- Any method which is templated AND marked as `final` will NOT be virtual.
- Undid the `final` so as to provide us with vtable support when using via the super type `Logger`. Prior to this it would use the ones declared directly in `Logger` and not the others as effectively no override was present.
2024-04-08 17:36:59 +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 GoggaLogger 2024-04-08 17:36:59 +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 README 2023-11-22 11:54:39 +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.