Exclude CRLF when logging sent commands

Android Studio 2.0 beta 3 skips those log messages in its logcat view.
This commit is contained in:
cketti 2016-02-11 23:55:02 +01:00
parent 1d52a357a6
commit 2c5bcac66f

View file

@ -644,7 +644,7 @@ class ImapConnection {
if (sensitive && !K9MailLib.isDebugSensitive()) {
Log.v(LOG_TAG, getLogId() + ">>> [Command Hidden, Enable Sensitive Debug Logging To Show]");
} else {
Log.v(LOG_TAG, getLogId() + ">>> " + commandToSend);
Log.v(LOG_TAG, getLogId() + ">>> " + tag + " " + command);
}
}