fix bug and open log

This commit is contained in:
zhongchao
2021-05-26 22:46:57 +08:00
parent f91c92e1fd
commit f2cc7cf211
2 changed files with 5 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ public class MogoApplication extends AbsMogoApplication {
crashSystem.init();
//设置debug模式日志不上传
crashSystem.setDebug(BuildConfig.DEBUG);
Logger.init(BuildConfig.DEBUG ? LogLevel.OFF : LogLevel.OFF);
Logger.init(BuildConfig.DEBUG ? LogLevel.DEBUG : LogLevel.OFF);
if (DebugConfig.isNeedLoadGuideModule()) {
MogoModulePaths.addModule(new MogoModule(MogoModulePaths.PATH_GUIDE, MogoModulePaths.PATH_GUIDE));