diff options
Diffstat (limited to 'NorthstarDLL/dllmain.cpp')
-rw-r--r-- | NorthstarDLL/dllmain.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/NorthstarDLL/dllmain.cpp b/NorthstarDLL/dllmain.cpp index 8d78ee2c..2251d41d 100644 --- a/NorthstarDLL/dllmain.cpp +++ b/NorthstarDLL/dllmain.cpp @@ -145,6 +145,11 @@ bool InitialiseNorthstar() bInitialised = true; + // initialise the console if needed (-northstar needs this) + InitialiseConsole(); + // initialise logging before most other things so that they can use spdlog and it have the proper formatting + InitialiseLogging(); + InitialiseNorthstarPrefix(); InitialiseVersion(); @@ -154,7 +159,6 @@ bool InitialiseNorthstar() curl_global_init_mem(CURL_GLOBAL_DEFAULT, _malloc_base, _free_base, _realloc_base, _strdup_base, _calloc_base); InitialiseCrashHandler(); - InitialiseLogging(); InstallInitialHooks(); CreateLogFiles(); |