0
0
mirror of https://github.com/hufrea/byedpi.git synced 2025-07-01 11:03:04 +00:00

LOG for Android

This commit is contained in:
hufrea 2024-02-24 17:18:19 +03:00 committed by GitHub
parent 9acdcfab3e
commit dcfefca1c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,10 +48,10 @@ extern struct packet fake_tls;
extern struct packet fake_http; extern struct packet fake_http;
#if __ANDROID__ #if __ANDROID__
#define LOG_S ANDROID_LOG_INFO #define LOG_S ANDROID_LOG_DEBUG
#define LOG_L ANDROID_LOG_DEBUG #define LOG_L ANDROID_LOG_VERBOSE
#define LOG(s, str, ...) \ #define LOG(s, str, ...) \
__android_log_print(ANDROID_LOG_DEBUG, "ByeDPINative", str, ##__VA_ARGS__) __android_log_print(s, "proxy", str, ##__VA_ARGS__)
#else #else
#define LOG_S 1 #define LOG_S 1
#define LOG_L 2 #define LOG_L 2