mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
(Windows) Forward slashes are now converted to backslashes for the console log output.
This commit is contained in:
parent
0974e7b593
commit
cc22a1fa16
|
@ -105,5 +105,9 @@ Log::~Log()
|
||||||
// If it's an error, also print to console.
|
// If it's an error, also print to console.
|
||||||
// Print all messages if using --debug.
|
// Print all messages if using --debug.
|
||||||
if (messageLevel == LogError || reportingLevel >= LogDebug)
|
if (messageLevel == LogError || reportingLevel >= LogDebug)
|
||||||
|
#if defined(_WIN64)
|
||||||
|
std::cerr << formattedString;
|
||||||
|
#else
|
||||||
std::cerr << os.str();
|
std::cerr << os.str();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue