From 60cd555a2dd91d0cec9e7cdfd1a594aa7d0a44b5 Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 2 Aug 2019 15:38:24 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/model/webbook/SourceDebug.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/io/legado/app/model/webbook/SourceDebug.kt b/app/src/main/java/io/legado/app/model/webbook/SourceDebug.kt index 304dad375..3adbfa906 100644 --- a/app/src/main/java/io/legado/app/model/webbook/SourceDebug.kt +++ b/app/src/main/java/io/legado/app/model/webbook/SourceDebug.kt @@ -79,6 +79,7 @@ class SourceDebug(private val webBook: WebBook, callback: Callback) { .onSuccess { searchBooks -> searchBooks?.let { if (searchBooks.isNotEmpty()) { + printLog(debugSource, -1, "搜索完成") printLog(debugSource, 1, "", showTime = false) infoDebug(BookHelp.toBook(searchBooks[0])) } else { @@ -96,6 +97,7 @@ class SourceDebug(private val webBook: WebBook, callback: Callback) { printLog(debugSource, 1, "开始获取详情页") val info = webBook.getBookInfo(book) .onSuccess { + printLog(debugSource, -1, "详情页完成") printLog(debugSource, 1, "", showTime = false) tocDebug(book) } @@ -111,6 +113,7 @@ class SourceDebug(private val webBook: WebBook, callback: Callback) { .onSuccess { chapterList -> chapterList?.let { if (it.isNotEmpty()) { + printLog(debugSource, -1, "目录完成") printLog(debugSource, 1, "", showTime = false) contentDebug(book, it[0]) } else {