mirror of
https://github.com/LSPosed/LSPlant.git
synced 2025-05-04 20:42:02 +08:00
Dont log function name to avoid too verbose log
This commit is contained in:
parent
da6b276f4d
commit
ac41dc6c18
@ -17,14 +17,14 @@
|
|||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
#define LOGD(fmt, ...) \
|
#define LOGD(fmt, ...) \
|
||||||
__android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, \
|
__android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, \
|
||||||
"%s:%d#%s" \
|
"%s:%d" \
|
||||||
": " fmt, \
|
": " fmt, \
|
||||||
__FILE_NAME__, __LINE__, __PRETTY_FUNCTION__ __VA_OPT__(, ) __VA_ARGS__)
|
__FILE_NAME__, __LINE__ __VA_OPT__(, ) __VA_ARGS__)
|
||||||
#define LOGV(fmt, ...) \
|
#define LOGV(fmt, ...) \
|
||||||
__android_log_print(ANDROID_LOG_VERBOSE, LOG_TAG, \
|
__android_log_print(ANDROID_LOG_VERBOSE, LOG_TAG, \
|
||||||
"%s:%d#%s" \
|
"%s:%d" \
|
||||||
": " fmt, \
|
": " fmt, \
|
||||||
__FILE_NAME__, __LINE__, __PRETTY_FUNCTION__ __VA_OPT__(, ) __VA_ARGS__)
|
__FILE_NAME__, __LINE__ __VA_OPT__(, ) __VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#define LOGD(...) 0
|
#define LOGD(...) 0
|
||||||
#define LOGV(...) 0
|
#define LOGV(...) 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user