mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 11:28:41 +01:00
Refactoring
This commit is contained in:
@@ -39,6 +39,7 @@ import android.view.WindowManager;
|
||||
|
||||
import androidx.preference.PreferenceManager;
|
||||
|
||||
import com.bugsnag.android.BreadcrumbType;
|
||||
import com.bugsnag.android.Bugsnag;
|
||||
import com.bugsnag.android.Severity;
|
||||
|
||||
@@ -117,6 +118,10 @@ public class Log {
|
||||
return android.util.Log.e(TAG, prefix + " " + ex + "\n" + android.util.Log.getStackTraceString(ex));
|
||||
}
|
||||
|
||||
static void breadcrumb(String name, Map<String, String> crumb) {
|
||||
Bugsnag.leaveBreadcrumb("operation", BreadcrumbType.LOG, crumb);
|
||||
}
|
||||
|
||||
static void logExtras(Intent intent) {
|
||||
if (intent != null)
|
||||
logBundle(intent.getExtras());
|
||||
|
||||
Reference in New Issue
Block a user