mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Added log level debug option
This commit is contained in:
@@ -577,8 +577,10 @@ public class EmailService implements AutoCloseable {
|
||||
if (!line.endsWith("ignoring socket timeout"))
|
||||
if (log)
|
||||
EntityLog.log(context, user + " " + line);
|
||||
else
|
||||
android.util.Log.i("javamail", user + " " + line);
|
||||
else {
|
||||
if (BuildConfig.DEBUG)
|
||||
Log.i("javamail", user + " " + line);
|
||||
}
|
||||
bos.reset();
|
||||
} else
|
||||
bos.write(b);
|
||||
|
||||
Reference in New Issue
Block a user