gogga/README.md

38 lines
779 B
Markdown

<p align="center">
<img src="branding/logo_banner.png" width=450>
</p>
<br>
<h3 align="center"><i><b>Simple VT100 colourised pretty-printing logger</i></b></h3>
---
<br>
<br
## Usage
The API is rather straight-forward, simply create a new logger and then you can use it as such:
```d
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:
![](example.png)
Various [styles](https://gogga.dpldocs.info/v2.1.15/gogga.transform.GoggaMode.html) are supported which can be set using `mode(GoggaMode)`.
---
Or you can also [View the full API](https://gogga.dpldocs.info/v2.1.15/index.html).