From: Sylvain Beucler Date: Sun, 19 May 2013 15:02:32 +0000 (+0000) Subject: Identify Android thread in the logs X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=6007df5166d84833aaff3fbf820867cbfe4dbde3;p=freeglut Identify Android thread in the logs git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1622 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/android/fg_runtime_android.c b/src/android/fg_runtime_android.c index c92d5f1..731c308 100644 --- a/src/android/fg_runtime_android.c +++ b/src/android/fg_runtime_android.c @@ -51,8 +51,8 @@ #include "android/native_app_glue/android_native_app_glue.h" #include "android/fg_main_android.h" -#define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "FreeGLUT", __VA_ARGS__)) -#define LOGW(...) ((void)__android_log_print(ANDROID_LOG_WARN, "FreeGLUT", __VA_ARGS__)) +#define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "FreeGLUT-jnicb", __VA_ARGS__)) +#define LOGW(...) ((void)__android_log_print(ANDROID_LOG_WARN, "FreeGLUT-jnicb", __VA_ARGS__)) /* Cf. freeglut_main_android.c */ extern int32_t handle_input(struct android_app* app, AInputEvent* event);