From dd2bbfacda18a49c1099551a5a1d723bf3b26484 Mon Sep 17 00:00:00 2001 From: Gray <84999745+Milxnor@users.noreply.github.com> Date: Sun, 2 Jun 2024 10:40:25 -0400 Subject: [PATCH] disable logging --- Project Reboot 3.0/log.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Project Reboot 3.0/log.h b/Project Reboot 3.0/log.h index 68dbd54..b5dc865 100644 --- a/Project Reboot 3.0/log.h +++ b/Project Reboot 3.0/log.h @@ -38,15 +38,16 @@ inline void MakeLogger(const std::string& LoggerName) inline void InitLogger() { // FreeConsole(); - AllocConsole(); // AttachConsole(ATTACH_PARENT_PROCESS); FILE* stream = nullptr; - bool bStopFortniteOutput = true; + bool bStopFortniteOutput = false; if (bStopFortniteOutput) { + AllocConsole(); + freopen_s(&stream, "in.txt", "r", stdin); freopen_s(&stream, "out.txt", "w+", stdout); freopen_s(&stream, "err.txt", "w", stderr);