mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
add LOG_TAG defines
This commit is contained in:
parent
8373a0fa60
commit
71fc0dd097
4 changed files with 6 additions and 2 deletions
|
@ -28,6 +28,8 @@
|
||||||
#include "ZT_jnilookup.h"
|
#include "ZT_jnilookup.h"
|
||||||
#include "ZT_jniutils.h"
|
#include "ZT_jniutils.h"
|
||||||
|
|
||||||
|
#define LOG_TAG "Lookup"
|
||||||
|
|
||||||
JniLookup::JniLookup()
|
JniLookup::JniLookup()
|
||||||
: m_jvm(NULL)
|
: m_jvm(NULL)
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|
||||||
|
#define LOG_TAG "Utils"
|
||||||
|
|
||||||
extern JniLookup lookup;
|
extern JniLookup lookup;
|
||||||
|
|
||||||
jobject createResultObject(JNIEnv *env, ZT_ResultCode code)
|
jobject createResultObject(JNIEnv *env, ZT_ResultCode code)
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
#include <jni.h>
|
#include <jni.h>
|
||||||
#include <ZeroTierOne.h>
|
#include <ZeroTierOne.h>
|
||||||
|
|
||||||
#define LOG_TAG "ZeroTierOneJNI"
|
|
||||||
|
|
||||||
#if defined(__ANDROID__)
|
#if defined(__ANDROID__)
|
||||||
|
|
||||||
#include <android/log.h>
|
#include <android/log.h>
|
||||||
|
|
|
@ -37,6 +37,8 @@
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
|
#define LOG_TAG "Node"
|
||||||
|
|
||||||
// global static JNI Lookup Object
|
// global static JNI Lookup Object
|
||||||
JniLookup lookup;
|
JniLookup lookup;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue