pull/32/head
kunfei 5 years ago
parent e107d47385
commit 1c6fddd61c
  1. 2
      app/src/main/java/io/legado/app/model/webbook/SourceDebug.kt

@ -1,6 +1,7 @@
package io.legado.app.model.webbook package io.legado.app.model.webbook
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.util.Log
import io.legado.app.data.entities.Book import io.legado.app.data.entities.Book
import io.legado.app.data.entities.BookChapter import io.legado.app.data.entities.BookChapter
import io.legado.app.help.BookHelp import io.legado.app.help.BookHelp
@ -39,6 +40,7 @@ class SourceDebug(private val webBook: WebBook, callback: Callback) {
if (showTime) { if (showTime) {
printMsg = "${DEBUG_TIME_FORMAT.format(Date(System.currentTimeMillis() - startTime))} $printMsg" printMsg = "${DEBUG_TIME_FORMAT.format(Date(System.currentTimeMillis() - startTime))} $printMsg"
} }
Log.e("sourceDebugLog", printMsg)
callback?.printLog(state, printMsg) callback?.printLog(state, printMsg)
} }

Loading…
Cancel
Save