mirror of
https://github.com/mik3y/usb-serial-for-android
synced 2025-06-08 00:16:13 +00:00
25 lines
642 B
Java
25 lines
642 B
Java
// without this class Mockito complains about non-mocked Log methods
|
|
package android.util;
|
|
|
|
public class Log {
|
|
public static int d(String tag, String msg) {
|
|
System.out.println("DEBUG: " + tag + ": " + msg);
|
|
return 0;
|
|
}
|
|
|
|
public static int i(String tag, String msg) {
|
|
System.out.println("INFO: " + tag + ": " + msg);
|
|
return 0;
|
|
}
|
|
|
|
public static int w(String tag, String msg) {
|
|
System.out.println("WARN: " + tag + ": " + msg);
|
|
return 0;
|
|
}
|
|
|
|
public static int e(String tag, String msg) {
|
|
System.out.println("ERROR: " + tag + ": " + msg);
|
|
return 0;
|
|
}
|
|
}
|