|
|
@ -95,7 +95,7 @@ static int64_t get_msec()
|
|
|
|
void DebugLog(int commid, char flag, const char* format, ...)
|
|
|
|
void DebugLog(int commid, char flag, const char* format, ...)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#ifndef NDEBUG
|
|
|
|
#ifndef NDEBUG
|
|
|
|
ALOGW("FMT: %s", format);
|
|
|
|
// ALOGW("FMT: %s", format);
|
|
|
|
// std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
|
|
|
// std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
va_list argptr;
|
|
|
|
va_list argptr;
|
|
|
@ -146,7 +146,7 @@ void DebugLog(int commid, char flag, const char* format, ...)
|
|
|
|
delete[] szbuf;
|
|
|
|
delete[] szbuf;
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef NDEBUG
|
|
|
|
#ifndef NDEBUG
|
|
|
|
ALOGW("FMT: %s end", format);
|
|
|
|
// ALOGW("FMT: %s end", format);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|