Пример #1
0
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
}
Пример #2
0
LogDebugger::~LogDebugger() {
    ANDROID_LOG(tag.str().c_str(), msg.str().c_str());
}
Пример #3
0
PrintDebugger::~PrintDebugger() {
    ANDROID_LOG("pxl", msg.str().c_str());
}