mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Added debug logging
This commit is contained in:
@@ -360,6 +360,13 @@ public class Log {
|
||||
EntityLog.log(ctx, message);
|
||||
}
|
||||
|
||||
public static void persist(EntityLog.Type type, String message) {
|
||||
if (ctx == null)
|
||||
Log.e(message);
|
||||
else
|
||||
EntityLog.log(ctx, type, message);
|
||||
}
|
||||
|
||||
static void setCrashReporting(boolean enabled) {
|
||||
try {
|
||||
if (enabled)
|
||||
|
||||
Reference in New Issue
Block a user