new log fuctions mocked
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
package android.util;
|
||||
|
||||
public class Log {
|
||||
public static Boolean isLoggable(String tag, Integer msg) {
|
||||
return true;
|
||||
}
|
||||
|
||||
public static int d(String tag, String msg) {
|
||||
System.out.println("DEBUG: " + tag + ": " + msg);
|
||||
return 0;
|
||||
|
||||
@@ -24,6 +24,12 @@ import kotlin.jvm.JvmStatic
|
||||
|
||||
class Log {
|
||||
companion object {
|
||||
@JvmStatic
|
||||
fun isLoggable(
|
||||
tag: String?,
|
||||
msg: Int?,
|
||||
): Boolean = true
|
||||
|
||||
@JvmStatic
|
||||
fun d(
|
||||
tag: String?,
|
||||
|
||||
Reference in New Issue
Block a user