Cleanup UITemplates / Fly logging

Summary: Kinda spammy

Reviewed By: shergin

Differential Revision: D14211415

fbshipit-source-id: a8d010f6133d8ec5e109e9d2164ade2c1d996537
This commit is contained in:
Spencer Ahrens
2019-02-27 13:33:07 -08:00
committed by Facebook Github Bot
parent edceba9a9c
commit 189f99eccc
@@ -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();
@@ -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()) {