fix bug and add new func
This commit is contained in:
@@ -4,6 +4,7 @@ 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
|
||||
import com.mogo.eagle.core.utilcode.util.SnackbarUtils
|
||||
|
||||
object CallerDevaToolsManager {
|
||||
|
||||
@@ -18,6 +19,14 @@ object CallerDevaToolsManager {
|
||||
devaToolsProviderApi.startLogCatch()
|
||||
}
|
||||
|
||||
/**
|
||||
* 开始抓取全量日志
|
||||
* duration 分钟数
|
||||
*/
|
||||
fun startCatchLog(duration: Int){
|
||||
devaToolsProviderApi.startLogCatch(duration)
|
||||
}
|
||||
|
||||
/**
|
||||
* 停止抓取全量日志
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user