Add logging

This commit is contained in:
solohsu 2019-02-22 18:01:51 +08:00
parent 2f871cdbf6
commit 15508e21c6
2 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public final class DynamicBridge {
} }
public static synchronized void hookMethod(Member hookMethod, XposedBridge.AdditionalHookInfo additionalHookInfo) { public static synchronized void hookMethod(Member hookMethod, XposedBridge.AdditionalHookInfo additionalHookInfo) {
DexLog.d("hooking " + hookMethod);
if (!checkMember(hookMethod)) { if (!checkMember(hookMethod)) {
return; return;
} }

View File

@ -59,6 +59,7 @@ public class MethodInfo {
try { try {
return Class.forName(className, true, classLoader); return Class.forName(className, true, classLoader);
} catch (Throwable throwable) { } catch (Throwable throwable) {
DexLog.e("error when getClassForSure", throwable);
return null; return null;
} }
} }