mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
disable logging
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user