diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-13 11:23:23 +0200 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-09-13 11:29:01 +0200 |
commit | ec465149a66a2ee9332380a65b10e51f0fad0f56 (patch) | |
tree | 8a173f91690d67e3369ac1ff01a8d6a38096c6e5 /NorthstarDLL | |
parent | 4d6452865eb3e2b2abec3f5afe9de66ca7f1855b (diff) | |
download | NorthstarLauncher-ec465149a66a2ee9332380a65b10e51f0fad0f56.tar.gz NorthstarLauncher-ec465149a66a2ee9332380a65b10e51f0fad0f56.zip |
Revert "Add log colours because they are pretty (#237)"
This reverts commit a97f1f07bb5aa31629cd87023e09669eb4bf1fe9.
Diffstat (limited to 'NorthstarDLL')
-rw-r--r-- | NorthstarDLL/logging.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/NorthstarDLL/logging.cpp b/NorthstarDLL/logging.cpp index 8c7c82ec..38d58fa0 100644 --- a/NorthstarDLL/logging.cpp +++ b/NorthstarDLL/logging.cpp @@ -234,12 +234,9 @@ void InitialiseLogging() hExceptionFilter = AddVectoredExceptionHandler(TRUE, ExceptionFilter); AllocConsole(); - // these two lines are responsible for stuff to not show up in the console sometimes, from talking about it on discord - // apparently they were meant to make logging work when using -northstar, however from testing it seems that it doesnt - // work regardless of these two lines - // freopen("CONOUT$", "w", stdout); - // freopen("CONOUT$", "w", stderr); - spdlog::default_logger()->set_pattern("[%H:%M:%S] [%^%l%$] %v"); + freopen("CONOUT$", "w", stdout); + freopen("CONOUT$", "w", stderr); + spdlog::default_logger()->set_pattern("[%H:%M:%S] [%l] %v"); SetConsoleCtrlHandler(ConsoleHandlerRoutine, true); } |