mirror of https://github.com/M66B/FairEmail.git
Added classifier logging
This commit is contained in:
parent
9dc1154e66
commit
4bcab037f6
|
@ -88,9 +88,11 @@ public class MessageClassifier {
|
||||||
long elapsed = new Date().getTime() - start;
|
long elapsed = new Date().getTime() - start;
|
||||||
EntityLog.log(context, EntityLog.Type.Classification, message,
|
EntityLog.log(context, EntityLog.Type.Classification, message,
|
||||||
"Classifier" +
|
"Classifier" +
|
||||||
" folder=" + folder.name +
|
" folder=" + folder.account + ":" + folder.name + ":" + folder.type +
|
||||||
" added=" + added +
|
" added=" + added +
|
||||||
" message=" + message.id +
|
" message=" + message.id + "/" + !TextUtils.isEmpty(message.msgid) +
|
||||||
|
" keyword=" + message.hasKeyword(MessageHelper.FLAG_CLASSIFIED) +
|
||||||
|
" filtered=" + message.hasKeyword(MessageHelper.FLAG_FILTERED) +
|
||||||
"@" + new Date(message.received) +
|
"@" + new Date(message.received) +
|
||||||
":" + message.subject +
|
":" + message.subject +
|
||||||
" class=" + classified +
|
" class=" + classified +
|
||||||
|
|
Loading…
Reference in New Issue