diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-03-21 09:57:43 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-21 13:27:00 -0700 |
commit | bd746b1d1b906960196742a9efc1a63653d28afc (patch) | |
tree | 7b4f5984bd1957595c2497e8fbdc4abc7eaaa9d7 /qt-models | |
parent | 1453888e029f3765f3dca7d562ee8ee50bc5f5d2 (diff) | |
download | subsurface-bd746b1d1b906960196742a9efc1a63653d28afc.tar.gz |
Android: use Subsurface as TAG for log messages
Having the file name as TAG was just stupid.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/messagehandlermodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 <android/log.h> -#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) |