From cc22a1fa16149f9088ba4a11ebcde42f0b3463c1 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 28 Jan 2021 20:24:56 +0100 Subject: [PATCH] (Windows) Forward slashes are now converted to backslashes for the console log output. --- es-core/src/Log.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/es-core/src/Log.cpp b/es-core/src/Log.cpp index a8453ad5f..616784776 100644 --- a/es-core/src/Log.cpp +++ b/es-core/src/Log.cpp @@ -105,5 +105,9 @@ Log::~Log() // If it's an error, also print to console. // Print all messages if using --debug. if (messageLevel == LogError || reportingLevel >= LogDebug) + #if defined(_WIN64) + std::cerr << formattedString; + #else std::cerr << os.str(); + #endif }