aboutsummaryrefslogtreecommitdiff
path: root/primedev/logging/logging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'primedev/logging/logging.cpp')
-rw-r--r--primedev/logging/logging.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/primedev/logging/logging.cpp b/primedev/logging/logging.cpp
index 72171e25..6d71eea0 100644
--- a/primedev/logging/logging.cpp
+++ b/primedev/logging/logging.cpp
@@ -124,11 +124,7 @@ void CustomSink::custom_log(const custom_log_msg& msg)
void InitialiseConsole()
{
- if (AllocConsole() == FALSE)
- {
- std::cout << "[*] Failed to create a console window, maybe a console already exists?" << std::endl;
- }
- else
+ if (AllocConsole() != FALSE)
{
freopen("CONOUT$", "w", stdout);
freopen("CONOUT$", "w", stderr);