Skip to content

Commit

Permalink
fix(android): add call function log
Browse files Browse the repository at this point in the history
  • Loading branch information
siguangli2018 authored and zealotchen0 committed Aug 1, 2023
1 parent 6ff2398 commit 5fc52e4
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,8 @@ public void updateNode(final int rootId, @NonNull List<Object> nodeList)
}
final Map<String, Object> diffProps = MapUtils.getMapValue(node, NODE_PROPS);
final List<Object> delProps = MapUtils.getListValue(node, NODE_DELETE_PROPS);
LogUtils.d(TAG, "updateNode: id " + nodeId);
LogUtils.d(TAG, "diff " + diffProps + ", delete " + delProps);
LogUtils.d(TAG,
"updateNode: id " + nodeId + ", diff " + diffProps + ", delete " + delProps);
LogUtils.d(TAG, " ");
mVirtualNodeManager.updateNode(rootId, nodeId, diffProps, delProps);
// If multiple level are nested, the parent is outermost text node.
Expand Down Expand Up @@ -761,6 +761,10 @@ public void callUIFunction(final int rootId, final int nodeId, final long callba
throw new NativeRenderException(INVALID_NODE_DATA_ERR,
TAG + ": callUIFunction: invalid negative id=" + nodeId);
}
LogUtils.d(TAG,
"callUIFunction: id " + nodeId + ", functionName " + functionName + ", params"
+ params);
LogUtils.d(TAG, " ");
// If callbackId equal to 0 mean this call does not need to callback.
final UIPromise promise =
(callbackId == 0) ? null : new UIPromise(callbackId, functionName, rootId, nodeId,
Expand Down

0 comments on commit 5fc52e4

Please sign in to comment.