disable logging

This commit is contained in:
Gray
2024-06-02 10:40:25 -04:00
parent f107b5a813
commit dd2bbfacda

View File

@@ -38,15 +38,16 @@ inline void MakeLogger(const std::string& LoggerName)
inline void InitLogger() inline void InitLogger()
{ {
// FreeConsole(); // FreeConsole();
AllocConsole();
// AttachConsole(ATTACH_PARENT_PROCESS); // AttachConsole(ATTACH_PARENT_PROCESS);
FILE* stream = nullptr; FILE* stream = nullptr;
bool bStopFortniteOutput = true; bool bStopFortniteOutput = false;
if (bStopFortniteOutput) if (bStopFortniteOutput)
{ {
AllocConsole();
freopen_s(&stream, "in.txt", "r", stdin); freopen_s(&stream, "in.txt", "r", stdin);
freopen_s(&stream, "out.txt", "w+", stdout); freopen_s(&stream, "out.txt", "w+", stdout);
freopen_s(&stream, "err.txt", "w", stderr); freopen_s(&stream, "err.txt", "w", stderr);