itachi1706/SingBuses

View on GitHub
app/src/test/java/android/util/Log.kt

Summary

Maintainability
A
3 hrs
Test Coverage
@file:Suppress("unused")

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
        }

        // add other methods if required...
        @JvmStatic
        fun println(priority: Int, tag: String, msg: String): Int {
            println("$priority: $tag: $msg")
            return 0
        }
    }
}