Skip to content

Commit

Permalink
更新日志
Browse files Browse the repository at this point in the history
Signed-off-by: HChenX <HChen_LXi@outlook.com>
  • Loading branch information
HChenX committed Dec 16, 2023
1 parent 5792d1a commit ac4a45a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/Com/HChen/Hook/Mode/HookMode.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ protected void beforeHookedMethod(MethodHookParam param) {
Info info = paramCheck(param);
final Info getInfo = getInfo(info.method, info.thisObject);
/*日志过滤*/
logFilter(hookLog(), new String[]{"AthenaApp", "OplusBattery"},
/*logFilter(hookLog(), new String[]{"AthenaApp", "OplusBattery"},
() -> logI(hookLog(), getInfo.thisObject, getInfo.methodProcessed),
() -> logSI(hookLog(), getInfo.thisObject, getInfo.methodProcessed + " " + paramLog(param)));
// logSI(HookMode.getHookLog(), info.thisObject, info.methodProcessed + " " + paramLog(param));
() -> logSI(hookLog(), getInfo.thisObject, getInfo.methodProcessed + " " + paramLog(param)));*/
logSI(hookLog(), info.thisObject, info.methodProcessed + " " + paramLog(param));
} catch (Throwable e) {
logE("beforeHookedMethod", "" + e);
}
Expand Down

0 comments on commit ac4a45a

Please sign in to comment.