fixing log

This commit is contained in:
2022-07-18 11:50:30 +02:00
parent 0b8a7d8db7
commit 73fa10d8d6
2 changed files with 7 additions and 4 deletions

View File

@@ -17,6 +17,12 @@ void LOG(const std::string& msg) {
#endif
}
void LOGD(const std::string& msg) {
#if !defined(NDEBUG)
LOG(msg);
#endif
}
void LOGE(const std::string& err) {
#ifdef __ANDROID__
__android_log_print(ANDROID_LOG_ERROR, "TRACKERS", "%s", err.c_str());