mirror of
https://github.com/hufrea/byedpi.git
synced 2024-11-20 12:25:05 +00:00
LOG for Android
This commit is contained in:
parent
9acdcfab3e
commit
dcfefca1c7
6
params.h
6
params.h
@ -48,10 +48,10 @@ extern struct packet fake_tls;
|
||||
extern struct packet fake_http;
|
||||
|
||||
#if __ANDROID__
|
||||
#define LOG_S ANDROID_LOG_INFO
|
||||
#define LOG_L ANDROID_LOG_DEBUG
|
||||
#define LOG_S ANDROID_LOG_DEBUG
|
||||
#define LOG_L ANDROID_LOG_VERBOSE
|
||||
#define LOG(s, str, ...) \
|
||||
__android_log_print(ANDROID_LOG_DEBUG, "ByeDPINative", str, ##__VA_ARGS__)
|
||||
__android_log_print(s, "proxy", str, ##__VA_ARGS__)
|
||||
#else
|
||||
#define LOG_S 1
|
||||
#define LOG_L 2
|
||||
|
Loading…
Reference in New Issue
Block a user