main.android.util.Log.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logging-test-android Show documentation
Show all versions of logging-test-android Show documentation
Log on android tests without worrying about the android sdk
package android.util
class Log {
companion object {
@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
}
}
}