Commit 003641ef authored by swift_gan's avatar swift_gan

add log

parent b5dec3cb
package com.swift.sandhook; package com.swift.sandhook;
import android.os.Build; import android.os.Build;
import android.util.Log;
import com.swift.sandhook.annotation.HookMode; import com.swift.sandhook.annotation.HookMode;
import com.swift.sandhook.wrapper.HookErrorException; import com.swift.sandhook.wrapper.HookErrorException;
...@@ -66,6 +67,7 @@ public class SandHook { ...@@ -66,6 +67,7 @@ public class SandHook {
if (!SandHook.hook(entity.target, entity.hook, entity.backup)) { if (!SandHook.hook(entity.target, entity.hook, entity.backup)) {
throw new HookErrorException("hook method <" + entity.target.getName() + "> error in native!"); throw new HookErrorException("hook method <" + entity.target.getName() + "> error in native!");
} }
Log.d("SandHook", "method <" + entity.target.getName() + "> hook success!");
globalHookEntityMap.put(entity.target, entity); globalHookEntityMap.put(entity.target, entity);
} }
} }
......
...@@ -41,7 +41,7 @@ public final class XposedBridge { ...@@ -41,7 +41,7 @@ public final class XposedBridge {
public static final ClassLoader BOOTCLASSLOADER = XposedBridge.class.getClassLoader(); public static final ClassLoader BOOTCLASSLOADER = XposedBridge.class.getClassLoader();
/** @hide */ /** @hide */
public static final String TAG = "EdXposed-Bridge"; public static final String TAG = "SandXposed-Bridge";
/** @deprecated Use {@link #getXposedVersion()} instead. */ /** @deprecated Use {@link #getXposedVersion()} instead. */
@Deprecated @Deprecated
......
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