void la_print(const char* format, ...) { char temp[256]; va_list arglist; // Write to temp va_start( arglist, format ); vsprintf( temp, format, arglist ); va_end( arglist ); la_file_append(LA_FILE_LOG, temp, strlen(temp)); // To File ANDROID_LOG("%s", temp); // To Logcat }
LogDebugger::~LogDebugger() { ANDROID_LOG(tag.str().c_str(), msg.str().c_str()); }
PrintDebugger::~PrintDebugger() { ANDROID_LOG("pxl", msg.str().c_str()); }