main.android.util.Log.kt Maven / Gradle / Ivy
package android.util
class Log {
companion object {
@JvmStatic
fun v(tag: String, msg: String): Int {
println("DEBUG: $tag: $msg")
return 0
}
@JvmStatic
fun d(tag: String, msg: String): Int {
println("DEBUG: $tag: $msg")
return 0
}
@JvmStatic
fun i(tag: String, msg: String): Int {
println("INFO: $tag: $msg")
return 0
}
@JvmStatic
fun w(tag: String, msg: String): Int {
println("WARN: $tag: $msg")
return 0
}
@JvmStatic
fun e(tag: String, msg: String): Int {
println("ERROR: $tag: $msg")
return 0
}
@JvmStatic
fun wtf(tag: String, msg: String): Int {
println("ERROR: $tag: $msg")
return 0
}
}
}