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