- New package structure

- Updated usage example
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-02 13:12:21 +02:00
parent 9bf782b107
commit 7124da73de
3 changed files with 6 additions and 1 deletions

View File

@ -16,6 +16,8 @@
The API is rather straight-forward, simply create a new logger and then you can use it as such: The API is rather straight-forward, simply create a new logger and then you can use it as such:
```d ```d
import gogga;
GoggaLogger gLogger = new GoggaLogger(); GoggaLogger gLogger = new GoggaLogger();
gLogger.info("This is an info message"); gLogger.info("This is an info message");

View File

@ -1,4 +1,4 @@
module gogga; module gogga.core;
import std.conv : to; import std.conv : to;
import std.stdio : write, stdout; import std.stdio : write, stdout;

3
source/gogga/package.d Normal file
View File

@ -0,0 +1,3 @@
module gogga;
public import gogga.core : GoggaLogger;