[New branch]

关闭部分日志
修复ADAS基础模块过快启动导致崩溃

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2021-12-29 17:45:39 +08:00
parent 5dbcc1defe
commit e41ec828f6
10 changed files with 32 additions and 140 deletions

View File

@@ -38,11 +38,12 @@ public class MogoApplication extends MainMoGoApplication {
initCrash();
initApmInsight();
//设置debug模式日志不上传
// crashSystem.setDebug(BuildConfig.DEBUG);
crashSystem.setDebug(BuildConfig.DEBUG);
}
@Override
protected void initLogConfig() {
super.initLogConfig();
Logger.init(BuildConfig.DEBUG ? LogLevel.DEBUG : LogLevel.OFF);
}