[New branch]
关闭部分日志 修复ADAS基础模块过快启动导致崩溃 Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user