[3.3.0][日志] 添加全量日志功能
This commit is contained in:
@@ -14,6 +14,7 @@ import com.mogo.eagle.core.data.msgbox.MsgBoxBean
|
||||
import com.mogo.eagle.core.function.api.devatools.apm.*
|
||||
import com.mogo.eagle.core.function.api.devatools.strict.*
|
||||
import com.mogo.eagle.core.function.api.devatools.download.*
|
||||
import com.mogo.eagle.core.function.api.devatools.logcat.*
|
||||
import com.mogo.eagle.core.function.api.devatools.mofang.*
|
||||
import com.mogo.eagle.core.function.api.lookaround.*
|
||||
import com.mogo.eagle.core.function.api.upgrade.*
|
||||
@@ -218,4 +219,10 @@ interface IDevaToolsProvider : IProvider {
|
||||
* 魔方功能提供者
|
||||
*/
|
||||
fun mofang(): IMoGoMoFangProvider
|
||||
|
||||
|
||||
/**
|
||||
* 日志记录功能
|
||||
*/
|
||||
fun logRecord(): IMoGoLogRecordProvider
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.mogo.eagle.core.function.api.devatools.logcat
|
||||
|
||||
import android.content.Context
|
||||
|
||||
interface IMoGoLogRecordProvider {
|
||||
|
||||
fun init(context: Context)
|
||||
|
||||
fun start()
|
||||
|
||||
fun stop()
|
||||
|
||||
fun upload(startTime: Long, endTime: Long)
|
||||
}
|
||||
Reference in New Issue
Block a user