- Make the `logger` global such that there is only one
This commit is contained in:
parent
ac85baae8c
commit
44e476c9c5
|
@ -14,7 +14,7 @@ import core.stdc.stdlib : exit;
|
|||
import gogga;
|
||||
|
||||
|
||||
GoggaLogger logger;
|
||||
private __gshared GoggaLogger logger;
|
||||
static this()
|
||||
{
|
||||
logger = new GoggaLogger();
|
||||
|
|
Loading…
Reference in New Issue