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