mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55: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);
|
||||
#endif
|
||||
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;
|
||||
|
||||
return mOutStringStream;
|
||||
|
|
Loading…
Reference in a new issue