mirror of https://github.com/deavmi/gogga.git
- Added usage
This commit is contained in:
parent
73fff0eae4
commit
f8221ab22d
14
README.md
14
README.md
|
@ -11,7 +11,19 @@
|
||||||
<br>
|
<br>
|
||||||
<br
|
<br
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
TODO: Add docs
|
The API is rather straight-forward, simply create a new logger and then you can use it as such:
|
||||||
|
|
||||||
|
```d
|
||||||
|
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)
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
Loading…
Reference in New Issue