From 2778ec3a8843b4af3dc3a9dd8a1e5c1ad541a17f Mon Sep 17 00:00:00 2001 From: kuailexs <952415538@qq.com> Date: Sat, 18 Oct 2025 13:49:55 +0800 Subject: [PATCH] debug logs --- src/gbinder_log.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gbinder_log.h b/src/gbinder_log.h index 202186a..33d1b5d 100644 --- a/src/gbinder_log.h +++ b/src/gbinder_log.h @@ -38,6 +38,9 @@ #define GLOG_MODULE_NAME GBINDER_LOG_MODULE #include +#define DBG(fmt, ...) \ + gutil_log(GLOG_MODULE_CURRENT, GLOG_LEVEL_ALWAYS, "gbinder:"fmt, ##__VA_ARGS__) + /* Declared for unit tests */ __attribute__((constructor)) void