mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -656,10 +656,11 @@ interface JsExtensions : JsEncodeUtils {
|
||||
* 输出调试日志
|
||||
*/
|
||||
fun log(msg: Any?): Any? {
|
||||
val msg1 = "书源调试输出:${msg}"
|
||||
getSource()?.let {
|
||||
Debug.log(it.getKey(), msg.toString())
|
||||
} ?: Debug.log(msg.toString())
|
||||
AppLog.putDebug(msg.toString())
|
||||
Debug.log(it.getKey(), msg1)
|
||||
} ?: Debug.log(msg1)
|
||||
AppLog.putDebug(msg1)
|
||||
return msg
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user