[6.2.0][技术优化] 基于apm平台添加日志回捞能力

This commit is contained in:
renwj
2023-11-28 20:05:13 +08:00
parent 2f73803631
commit 7abb5d0de0
8 changed files with 30 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ package com.mogo.launcher.lancet.jank.spi;
import android.app.Activity;
import android.os.Looper;
import android.os.SystemClock;
import android.util.Log;
import com.apm.insight.log.VLog;
import com.google.auto.service.AutoService;
import com.mogo.core.lancetx.compiler.lib.generator.Type;
import com.mogo.core.lancetx.compiler.lib.hook.IHookInvoker;
@@ -167,7 +167,7 @@ public class HookInvokerImpl implements IHookInvoker {
}
builder.setLength(builder.length() - 1);
}
Log.w("HookHandler", "Junk Detected:" + builder);
VLog.w("HookHandler", "Junk Detected:" + builder);
linkedLog(type, builder.toString());
if (flag) {
extra.setLength(0);