Stop extreme verbose logging

This commit is contained in:
topjohnwu 2021-10-27 03:57:36 -07:00
parent 8bd6aca0dd
commit 34c36984e9

View File

@ -18,8 +18,8 @@ using jni_hook::tree_map;
using xstring = jni_hook::string; using xstring = jni_hook::string;
// Extreme verbose logging // Extreme verbose logging
#define ZLOGV(...) ZLOGD(__VA_ARGS__) //#define ZLOGV(...) ZLOGD(__VA_ARGS__)
//#define ZLOGV(...) #define ZLOGV(...)
namespace { namespace {
@ -491,7 +491,7 @@ static int hook_register(const char *path, const char *symbol, void *new_func, v
void hook_functions() { void hook_functions() {
#if MAGISK_DEBUG #if MAGISK_DEBUG
xhook_enable_debug(1); // xhook_enable_debug(1);
xhook_enable_sigsegv_protection(0); xhook_enable_sigsegv_protection(0);
#endif #endif
default_new(xhook_list); default_new(xhook_list);