Identify Android thread in the logs
authorSylvain Beucler <beuc@beuc.net>
Sun, 19 May 2013 15:02:32 +0000 (15:02 +0000)
committerSylvain Beucler <beuc@beuc.net>
Sun, 19 May 2013 15:02:32 +0000 (15:02 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1622 7f0cb862-5218-0410-a997-914c9d46530a

src/android/fg_runtime_android.c

index c92d5f1..731c308 100644 (file)
@@ -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);