mirror of https://github.com/M66B/FairEmail.git
Debug logging
This commit is contained in:
parent
b8a5b5dbf5
commit
b53627b49b
|
@ -176,14 +176,14 @@ public class Log {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int i(String msg) {
|
public static int i(String msg) {
|
||||||
if (level <= android.util.Log.INFO)
|
if (level <= android.util.Log.INFO || BuildConfig.DEBUG)
|
||||||
return android.util.Log.i(TAG, msg);
|
return android.util.Log.i(TAG, msg);
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int i(String tag, String msg) {
|
public static int i(String tag, String msg) {
|
||||||
if (level <= android.util.Log.INFO)
|
if (level <= android.util.Log.INFO || BuildConfig.DEBUG)
|
||||||
return android.util.Log.i(tag, msg);
|
return android.util.Log.i(tag, msg);
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue