pull/36/head
kunfei 5 years ago
parent f6685e5dd2
commit fe8c4e02e5
  1. 2
      app/src/main/java/io/legado/app/utils/LogUtils.kt

@ -13,10 +13,12 @@ import java.util.logging.Formatter
object LogUtils {
const val TIME_PATTERN = "yyyy-MM-dd HH:mm:ss"
@JvmStatic
fun d(tag: String, msg: String) {
logger.log(Level.INFO, "$tag $msg")
}
@JvmStatic
fun e(tag: String, msg: String) {
logger.log(Level.WARNING, "$tag $msg")
}

Loading…
Cancel
Save