mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-12-03 19:35:38 +00:00
LOGGER: fixed log file not flushed
This commit is contained in:
parent
44fb412e3d
commit
f47bb09fa8
|
@ -139,6 +139,10 @@ Log::~Log()
|
||||||
|
|
||||||
sFile << mOutStringStream.str();
|
sFile << mOutStringStream.str();
|
||||||
|
|
||||||
|
#if defined(RETRODECK)
|
||||||
|
sFile.flush();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__ANDROID__)
|
#if defined(__ANDROID__)
|
||||||
if (mMessageLevel == LogError) {
|
if (mMessageLevel == LogError) {
|
||||||
__android_log_print(ANDROID_LOG_ERROR, ANDROID_APPLICATION_ID, "%s",
|
__android_log_print(ANDROID_LOG_ERROR, ANDROID_APPLICATION_ID, "%s",
|
||||||
|
|
Loading…
Reference in a new issue