Skip to content

Commit f58a53e

Browse files
committed
Renaming logging macros and removing unnecessary ones
1 parent 237a92d commit f58a53e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/java_wrapper.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55
#ifdef ANDROID
66
#include <android/log.h>
7-
#define LOG_TAG "ArrayFireJNI"
8-
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__)
9-
#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR,LOG_TAG,__VA_ARGS__)
7+
#define LOG(...) __android_log_print(ANDROID_LOG_INFO, "ArrayFireJNI", __VA_ARGS__)
108
#else
11-
#define LOGI(msg,...) do { \
9+
#define LOG(msg,...) do { \
1210
printf(__FILE__":%d: " msg "\n", \
1311
__LINE__, ##__VA_ARGS__); \
1412
} while (0)

0 commit comments

Comments
 (0)