mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Ez Extend logging of Fabric
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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
21d7a357f6
commit
ff0c62504b
+1
-1
@@ -35,7 +35,7 @@ public class UpdateStateMountItem implements MountItem {
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user