Reduced logging

This commit is contained in:
M66B
2020-04-15 13:42:53 +02:00
parent 46bbb96c8c
commit c3040e24d3
3 changed files with 6 additions and 2 deletions

View File

@@ -172,6 +172,10 @@ public class Log {
return android.util.Log.e(TAG, ex + "\n" + android.util.Log.getStackTraceString(ex));
}
public static int i(String prefix, Throwable ex) {
return android.util.Log.i(TAG, prefix + " " + ex + "\n" + android.util.Log.getStackTraceString(ex));
}
public static int w(String prefix, Throwable ex) {
if (BuildConfig.BETA_RELEASE)
try {