pull/1463/head^2
gedoor 3 years ago
parent e0d146b8ba
commit bdaec74748
  1. 11
      app/src/main/java/io/legado/app/help/JsExtensions.kt

@ -490,6 +490,17 @@ interface JsExtensions {
return msg return msg
} }
/**
* 输出对象类型
*/
fun logType(any: Any?) {
if (any == null) {
log("null")
} else {
log(any.javaClass.name)
}
}
/** /**
* 生成UUID * 生成UUID
*/ */

Loading…
Cancel
Save