[CrashFix]优化异常捕获逻辑

[xxx]
This commit is contained in:
renwj
2022-08-03 16:53:29 +08:00
parent 4789c426e7
commit ebad7806e3
5 changed files with 221 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
package com.mogo.launcher;
import com.auto.zhidao.logsdk.CrashSystem;
import com.mogo.eagle.core.function.main.MainMoGoApplication;
import com.mogo.eagle.core.utilcode.mogo.logger.LogLevel;
import com.mogo.eagle.core.utilcode.mogo.logger.Logger;
import com.mogo.launcher.crash.CrashSystem;
/**
* @author congtaowang
@@ -17,7 +17,6 @@ public class MogoApplication extends MainMoGoApplication {
protected void initCrashConfig() {
CrashSystem crashSystem = CrashSystem.getInstance(this);
crashSystem.init();
//设置debug模式日志不上传
crashSystem.setDebug(BuildConfig.DEBUG);
}