Skip to content

Commit

Permalink
Ez Extend logging of Fabric
Browse files Browse the repository at this point in the history
Summary:
Quick diff to log of content of UpdateState mount item. This is useful for debugging. Note this will ONLY be logged when the constant FabricUIManager.IS_DEVELOPMENT_ENVIRONMENT is set to true

changelog: [Internal][Android] internal log for fabric android

Reviewed By: JoshuaGross

Differential Revision: D21428345

fbshipit-source-id: d000eb6dbdd39d15935fa2102072790e17372682
  • Loading branch information
mdvacca authored and facebook-github-bot committed May 6, 2020
1 parent 21d7a35 commit ff0c625
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public String toString() {
new StringBuilder("UpdateStateMountItem [").append(mReactTag).append("]");

if (IS_DEVELOPMENT_ENVIRONMENT) {
result.append(" state: ").append(mStateWrapper != null ? mStateWrapper : "<null>");
result.append(" state: ").append(mStateWrapper != null ? mStateWrapper.getState() : "<null>");
}

return result.toString();
Expand Down

0 comments on commit ff0c625

Please sign in to comment.