From 34c36984e9b76c3881bab9b2d9b2cce8b8344aa7 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Wed, 27 Oct 2021 03:57:36 -0700 Subject: [PATCH] Stop extreme verbose logging --- native/jni/zygisk/hook.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/native/jni/zygisk/hook.cpp b/native/jni/zygisk/hook.cpp index 6cb33a792..70b649625 100644 --- a/native/jni/zygisk/hook.cpp +++ b/native/jni/zygisk/hook.cpp @@ -18,8 +18,8 @@ using jni_hook::tree_map; using xstring = jni_hook::string; // Extreme verbose logging -#define ZLOGV(...) ZLOGD(__VA_ARGS__) -//#define ZLOGV(...) +//#define ZLOGV(...) ZLOGD(__VA_ARGS__) +#define ZLOGV(...) namespace { @@ -491,7 +491,7 @@ static int hook_register(const char *path, const char *symbol, void *new_func, v void hook_functions() { #if MAGISK_DEBUG - xhook_enable_debug(1); + // xhook_enable_debug(1); xhook_enable_sigsegv_protection(0); #endif default_new(xhook_list);