add trace view
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.mogo.eagle.core.function.call.devatools
|
||||
|
||||
import com.alibaba.android.arouter.launcher.ARouter
|
||||
import com.mogo.eagle.core.data.chain.ChainLogParam
|
||||
import com.mogo.eagle.core.data.constants.MogoServicePaths.PATH_DEVA_TOOLS
|
||||
import com.mogo.eagle.core.function.api.devatools.IDevaToolsProvider
|
||||
|
||||
@@ -23,4 +24,18 @@ object CallerDevaToolsManager {
|
||||
fun stopCatchLog() {
|
||||
devaToolsProviderApi.stopLogCatch()
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新链路节点信息,是否写入
|
||||
*/
|
||||
fun refreshTraceInfo(map: HashMap<Int, ChainLogParam>) {
|
||||
devaToolsProviderApi.refreshTraceInfo(map)
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取链路节点信息
|
||||
*/
|
||||
fun getTraceInfo():HashMap<Int, ChainLogParam>{
|
||||
return devaToolsProviderApi.getTraceInfo()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user