Merge "Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE"

This commit is contained in:
Steve Block
2012-01-05 14:06:36 -08:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@
static jint
add(JNIEnv *env, jobject thiz, jint a, jint b) {
int result = a + b;
LOGI("%d + %d = %d", a, b, result);
ALOGI("%d + %d = %d", a, b, result);
return result;
}
@@ -89,7 +89,7 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved)
jint result = -1;
JNIEnv* env = NULL;
LOGI("JNI_OnLoad");
ALOGI("JNI_OnLoad");
if (vm->GetEnv(&uenv.venv, JNI_VERSION_1_4) != JNI_OK) {
LOGE("ERROR: GetEnv failed");

View File

@@ -28,7 +28,7 @@
#if DEBUG
# include <cutils/log.h>
# define DD(...) LOGI(__VA_ARGS__)
# define DD(...) ALOGI(__VA_ARGS__)
#else
# define DD(...) ((void)0)
#endif