All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.android.util.Log.kt Maven / Gradle / Ivy

There is a newer version: 1.5.3
Show newest version
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
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy