mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +00:00
LogManager: Move android logcat code into the proper place.
This commit is contained in:
parent
5f8a67250f
commit
f84577b90b
3 changed files with 50 additions and 7 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue