mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
(Windows) Fixed an issue where the log output time stamp was missing in es_log.txt when built using MinGW
This commit is contained in:
parent
37f33b182e
commit
1dca0673c5
|
@ -70,7 +70,7 @@ std::ostringstream& Log::get(LogLevel level)
|
||||||
localtime_r(&t, &tm);
|
localtime_r(&t, &tm);
|
||||||
#endif
|
#endif
|
||||||
std::unique_lock<std::mutex> lock {sLogMutex};
|
std::unique_lock<std::mutex> lock {sLogMutex};
|
||||||
mOutStringStream << std::put_time(&tm, "%b %d %T ") << mLogLevelMap[level] << ":\t";
|
mOutStringStream << std::put_time(&tm, "%b %d %H:%M:%S ") << mLogLevelMap[level] << ":\t";
|
||||||
mMessageLevel = level;
|
mMessageLevel = level;
|
||||||
|
|
||||||
return mOutStringStream;
|
return mOutStringStream;
|
||||||
|
|
Loading…
Reference in a new issue