Skip to content

Commit

Permalink
Cleanup UITemplates / Fly logging
Browse files Browse the repository at this point in the history
Summary: Kinda spammy

Reviewed By: shergin

Differential Revision: D14211415

fbshipit-source-id: a8d010f6133d8ec5e109e9d2164ade2c1d996537
  • Loading branch information
sahrens authored and facebook-github-bot committed Feb 27, 2019
1 parent edceba9 commit 189f99e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ReactCommon/fabric/uimanager/UITemplateProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ SharedShadowNode UITemplateProcessor::runCommand(
componentDescriptor->appendChild(parentShadowNode, nodes[tag]);
}
} else if (opcode == "returnRoot") {
LOG(INFO)
<< "(stop) UITemplateProcessor inject serialized 'server rendered' view tree";
if (DEBUG_FLY) {
LOG(INFO)
<< "(stop) UITemplateProcessor inject serialized 'server rendered' view tree";
}
return nodes[command[1].asInt()];
} else if (opcode == "loadNativeBool") {
int registerNumber = command[1].asInt();
Expand Down Expand Up @@ -105,8 +107,10 @@ SharedShadowNode UITemplateProcessor::buildShadowTree(
const ComponentDescriptorRegistry &componentDescriptorRegistry,
const NativeModuleRegistry &nativeModuleRegistry,
const std::shared_ptr<const ReactNativeConfig> reactNativeConfig) {
LOG(INFO)
<< "(strt) UITemplateProcessor inject hardcoded 'server rendered' view tree";
if (DEBUG_FLY) {
LOG(INFO)
<< "(strt) UITemplateProcessor inject hardcoded 'server rendered' view tree";
}

std::string content = jsonStr;
for (const auto &param : params.items()) {
Expand Down

0 comments on commit 189f99e

Please sign in to comment.