编译条件写反

lowmem
Matthew 1 month ago
parent 90df33d1f7
commit d3b493efbc

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

Loading…
Cancel
Save