Browse Source

add LOG_TAG defines

Brenton Bostick 2 years ago
parent
commit
71fc0dd097

+ 2 - 0
java/jni/ZT_jnilookup.cpp

@@ -28,6 +28,8 @@
 #include "ZT_jnilookup.h"
 #include "ZT_jniutils.h"
 
+#define LOG_TAG "Lookup"
+
 JniLookup::JniLookup()
     : m_jvm(NULL)
 {

+ 2 - 0
java/jni/ZT_jniutils.cpp

@@ -28,6 +28,8 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 
+#define LOG_TAG "Utils"
+
 extern JniLookup lookup;
 
 jobject createResultObject(JNIEnv *env, ZT_ResultCode code)

+ 0 - 2
java/jni/ZT_jniutils.h

@@ -22,8 +22,6 @@
 #include <jni.h>
 #include <ZeroTierOne.h>
 
-#define LOG_TAG "ZeroTierOneJNI"
-
 #if defined(__ANDROID__)
 
 #include <android/log.h>

+ 2 - 0
java/jni/com_zerotierone_sdk_Node.cpp

@@ -37,6 +37,8 @@
 #include <cassert>
 #include <cstring>
 
+#define LOG_TAG "Node"
+
 // global static JNI Lookup Object
 JniLookup lookup;