Commit 237274b7 authored by swift_gan's avatar swift_gan

add logger invoke switcher

parent 68be7414
......@@ -9,6 +9,8 @@ public class DexLog {
public static final String TAG = "SandXposed-dexmaker";
public static boolean DEBUG = true;
public static int v(String s) {
return Log.v(TAG, s);
}
......@@ -22,9 +24,9 @@ public class DexLog {
}
public static void printMethodHookIn(Member member) {
if (member == null)
return;
Log.d("SandHook-Xposed", "method <" + member.toString() + "> hook in");
if (DEBUG && member != null) {
Log.d("SandHook-Xposed", "method <" + member.toString() + "> hook in");
}
}
public static int w(String s) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment