add logcatch debug view

This commit is contained in:
zhongchao
2022-01-07 20:37:26 +08:00
parent 202f7bf3c3
commit 5105e66388
44 changed files with 2594 additions and 5 deletions

View File

@@ -109,8 +109,12 @@ object MogoLogCatchManager : IMogoOnMessageListener<RemoteLogPushContent>, Handl
logInfoManager = LogInfoManagerFactory.createPushLogInfoManager(
mContext,
MoGoAiCloudClientConfig.getInstance().sn + File.separator + TimeUtils.formatYMD(System.currentTimeMillis()),
content, this)
content, this
)
logInfoManager?.start()
logInfoManager?.registerLogOutListener { lineLog ->
CallerDevaToolsListenerManager.invokeDevaToolsLogCatchLines(lineLog)
}
}
private fun stopCatchLog(content: RemoteLogPushContent) {