From bd746b1d1b906960196742a9efc1a63653d28afc Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 21 Mar 2020 09:57:43 -0700 Subject: [PATCH] Android: use Subsurface as TAG for log messages Having the file name as TAG was just stupid. Signed-off-by: Dirk Hohndel --- qt-models/messagehandlermodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-models/messagehandlermodel.cpp b/qt-models/messagehandlermodel.cpp index c2ba80d37..6a5f9953d 100644 --- a/qt-models/messagehandlermodel.cpp +++ b/qt-models/messagehandlermodel.cpp @@ -6,7 +6,7 @@ #define INFO(fmt, ...) fprintf(stderr, "INFO: " fmt "\n", ##__VA_ARGS__) #else #include -#define INFO(fmt, ...) __android_log_print(ANDROID_LOG_DEBUG, __FILE__, "INFO: " fmt "\n", ##__VA_ARGS__); +#define INFO(fmt, ...) __android_log_print(ANDROID_LOG_DEBUG, "Subsurface", "INFO: " fmt "\n", ##__VA_ARGS__); #endif #if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)