mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-06 04:45:50 +01:00
Debug logging
This commit is contained in:
@@ -176,14 +176,14 @@ public class Log {
|
||||
}
|
||||
|
||||
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);
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
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);
|
||||
else
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user