diff --git a/src/Components/Modules/Logger.cpp b/src/Components/Modules/Logger.cpp index 608a27e1..5357f582 100644 --- a/src/Components/Modules/Logger.cpp +++ b/src/Components/Modules/Logger.cpp @@ -32,7 +32,12 @@ namespace Components } else { - printf("%s", buffer); + // Only print to stdout, when doing unit tests + if (Loader::PerformingUnitTests()) + { + printf("%s", buffer); + } + OutputDebugStringA(buffer); } }