Added logging

This commit is contained in:
M66B
2019-06-25 08:05:28 +02:00
parent cf03e9f94f
commit 02936de391
4 changed files with 38 additions and 4 deletions

View File

@@ -191,8 +191,11 @@ public class EntityRule {
} else
matched = haystack.toLowerCase().contains(needle.trim().toLowerCase());
EntityLog.log(context, "Rule=" + name + " matched=" + matched +
" needle=" + needle + " haystack=" + haystack + " regex=" + regex);
EntityLog.log(context, "Rule=" + name +
" matched=" + matched +
" needle=" + needle +
" haystack=" + haystack +
" regex=" + regex);
return matched;
}