Skip to content

Commit 8e80d8a

Browse files
committed
logs: rename threaded_app log identifier to android_activity
This makes parsing logging a bit nicer for debugging stuff Changelog-Changed: Change threaded_app logs to android_activity Signed-off-by: William Casarin <jb55@jb55.com>
1 parent 51d05d4 commit 8e80d8a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

android-activity/game-activity-csrc/game-activity/native_app_glue/android_native_app_glue.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
#define NATIVE_APP_GLUE_KEY_EVENTS_DEFAULT_BUF_SIZE 4
3030

3131
#define LOGI(...) \
32-
((void)__android_log_print(ANDROID_LOG_INFO, "threaded_app", __VA_ARGS__))
32+
((void)__android_log_print(ANDROID_LOG_INFO, "android_activity", __VA_ARGS__))
3333
#define LOGE(...) \
34-
((void)__android_log_print(ANDROID_LOG_ERROR, "threaded_app", __VA_ARGS__))
34+
((void)__android_log_print(ANDROID_LOG_ERROR, "android_activity", __VA_ARGS__))
3535
#define LOGW(...) \
36-
((void)__android_log_print(ANDROID_LOG_WARN, "threaded_app", __VA_ARGS__))
36+
((void)__android_log_print(ANDROID_LOG_WARN, "android_activity", __VA_ARGS__))
3737
#define LOGW_ONCE(...) \
3838
do { \
3939
static bool alogw_once##__FILE__##__LINE__##__ = true; \
@@ -46,7 +46,7 @@
4646
/* For debug builds, always enable the debug traces in this library */
4747
#ifndef NDEBUG
4848
#define LOGV(...) \
49-
((void)__android_log_print(ANDROID_LOG_VERBOSE, "threaded_app", \
49+
((void)__android_log_print(ANDROID_LOG_VERBOSE, "android_activity", \
5050
__VA_ARGS__))
5151
#else
5252
#define LOGV(...) ((void)0)

0 commit comments

Comments
 (0)