LogManager: Move android logcat code into the proper place.

This commit is contained in:
Scott Mansell
2015-10-04 02:10:43 +13:00
parent 5f8a67250f
commit f84577b90b
3 changed files with 50 additions and 7 deletions

View File

@ -9,9 +9,6 @@
#include <set>
#include <string>
#ifdef ANDROID
#include <android/log.h>
#endif
#include "Common/FileUtil.h"
#include "Common/IniFile.h"
#include "Common/StringUtil.h"
@ -133,9 +130,6 @@ void LogManager::Log(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type,
file, line,
LogTypes::LOG_LEVEL_TO_CHAR[(int)level],
log->GetShortName().c_str(), temp);
#ifdef ANDROID
__android_log_write(ANDROID_LOG_INFO, "Dolphinemu", msg.c_str());
#endif
for (auto listener_id : *log)
m_listeners[listener_id]->Log(level, msg.c_str());