2023-03-02 09:58:10 +00:00
|
|
|
<p align="center">
|
2023-03-02 10:08:20 +00:00
|
|
|
<img src="branding/logo_banner.png" width=450>
|
2023-03-02 09:58:10 +00:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
2023-03-02 11:22:40 +00:00
|
|
|
<h3 align="center"><i><b>Simple VT100 colourised pretty-printing logger</i></b></h3>
|
2023-03-02 09:58:10 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<br>
|
|
|
|
<br
|
|
|
|
|
2023-03-02 11:00:00 +00:00
|
|
|
## Usage
|
2023-03-02 09:58:10 +00:00
|
|
|
|
2023-03-02 11:00:00 +00:00
|
|
|
The API is rather straight-forward, simply create a new logger and then you can use it as such:
|
2023-03-02 09:58:10 +00:00
|
|
|
|
2023-03-02 11:00:00 +00:00
|
|
|
```d
|
2023-03-02 11:12:21 +00:00
|
|
|
import gogga;
|
|
|
|
|
2023-03-02 11:00:00 +00:00
|
|
|
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:
|
|
|
|
|
|
|
|
![](example.png)
|
2020-10-29 09:17:48 +00:00
|
|
|
|