fix log android
This commit is contained in:
@@ -11,7 +11,7 @@ namespace utils {
|
||||
|
||||
void LOG(const std::string& msg){
|
||||
#ifdef __ANDROID__
|
||||
__android_log_print(ANDROID_LOG_INFO, "TRACKERS", "%s", msg);
|
||||
__android_log_print(ANDROID_LOG_INFO, "TRACKERS", "%s", msg.c_str());
|
||||
#else
|
||||
std::cout << msg << "\n";
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user