This commit is contained in:
2022-07-14 18:35:11 +02:00
parent ea4349af4c
commit 9ce1f4a1a8

View File

@@ -17,5 +17,13 @@ void LOG(const std::string& msg){
#endif #endif
} }
void LOGE(const std::string& err) {
#ifdef __ANDROID__
__android_log_print(ANDROID_LOG_ERROR, "TRACKERS", "%s", err.c_str());
#else
std::cerr << err << "\n";
#endif
}
} }
} // namespace td } // namespace td