provider log start interface to ui showing and fix bug of feedbugmanager to stop logcatch

This commit is contained in:
zhongchao
2022-03-29 14:47:45 +08:00
parent 9cee7a84e7
commit 0d0fa50beb
8 changed files with 47 additions and 19 deletions

View File

@@ -51,6 +51,13 @@ object CallerDevaToolsListenerManager {
}
}
fun invokeDevaToolsLogCatchStart() {
M_DEVA_TOOLS_LISTENER.forEach {
val listener = it.value
listener.onLogCatchStart()
}
}
fun invokeDevaToolsLogCatchClose() {
M_DEVA_TOOLS_LISTENER.forEach {
val listener = it.value

View File

@@ -36,8 +36,8 @@ object CallerDevaToolsManager {
/**
* 停止抓取全量日志
*/
fun stopCatchLog() {
devaToolsProviderApi?.stopLogCatch()
fun stopCatchLog(logPrefixName:String? = null) {
devaToolsProviderApi?.stopLogCatch(logPrefixName)
}
/**