[6.4.0][全量日志] 上传入口添加时间段选择
This commit is contained in:
@@ -211,8 +211,8 @@ internal class MoGoLogRecordProviderImpl: IMoGoLogRecordProvider,
|
||||
return LogcatManager.export()
|
||||
}
|
||||
|
||||
override fun upload(): Unit = runBlocking {
|
||||
val state = LogcatManager.upload(0, System.currentTimeMillis())
|
||||
override fun upload(startTime: Long, endTime: Long): Unit = runBlocking {
|
||||
val state = LogcatManager.upload(startTime, endTime)
|
||||
if (state is UploadError) {
|
||||
throw AssertionError(state.toString())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user