mirror of
https://github.com/hufrea/byedpi.git
synced 2025-02-21 10:49:15 +03:00
LOG for Android
This commit is contained in:
parent
9acdcfab3e
commit
dcfefca1c7
1 changed files with 3 additions and 3 deletions
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…
Add table
Reference in a new issue