Log rule execution

This commit is contained in:
M66B 2022-10-14 14:14:31 +02:00
parent 427518c1ed
commit 42bcec8bff
1 changed files with 1 additions and 1 deletions

View File

@ -466,7 +466,7 @@ public class EntityRule {
private boolean _execute(Context context, EntityMessage message) throws JSONException, IllegalArgumentException {
JSONObject jaction = new JSONObject(action);
int type = jaction.getInt("type");
Log.i("Executing rule=" + type + ":" + name + " message=" + message.id);
EntityLog.log(context, EntityLog.Type.Rules, message, "Executing rule=" + type + ":" + name);
switch (type) {
case TYPE_NOOP: