Skip to content

Commit

Permalink
fix:Optimize log format
Browse files Browse the repository at this point in the history
  • Loading branch information
huangtaibin committed Oct 16, 2023
1 parent 9258998 commit e9effe1
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,8 @@ public int getChildDrawingOrder(int childCount, int index) {
if (mDrawingOrderIndices != null
&& (index >= mDrawingOrderIndices.length || mDrawingOrderIndices[index] >= childCount)) {
FLog.w(ReactConstants.TAG,
"getChildDrawingOrder index out of bounds! please check your operations of addding and " +
"removing subview.Force updates here to prevent crash."
+ " viewId:" + mViewGroup.getId()
+ " childCount:" + childCount
+ " index:" + index
+ " mDrawingOrderIndices:" + Arrays.toString(mDrawingOrderIndices)
+ " mNumberOfChildrenWithZIndex:" + mNumberOfChildrenWithZIndex
);
"getChildDrawingOrder index out of bounds! Please check any custom view manipulations you" +
" may have done. childCount = %d, index = %d", childCount, index);
update();
}

Expand Down

0 comments on commit e9effe1

Please sign in to comment.