summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2018-11-05 14:11:51 -0800
committerandroid-build-merger <android-build-merger@google.com>2018-11-05 14:11:51 -0800
commitb48013f66370c123a16b5e4357d545d4cce2fd43 (patch)
tree8f58aa866e4ddaa58e9b1dcbf7604bdecbd52c31
parentc658a394e3fcd955082f787905d3089e558f7690 (diff)
parent61e85dfbbabf1fb5c75ddf3d76cec426cd681102 (diff)
downloadextras-b48013f66370c123a16b5e4357d545d4cce2fd43.tar.gz
Merge "Fix logging output" am: 61faad8bb1
am: 61e85dfbba Change-Id: I31a0f9e26430ca116342d3f73e3bc9f5d4ccb125
-rw-r--r--libperfmgr/HintManager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libperfmgr/HintManager.cc b/libperfmgr/HintManager.cc
index ca404349..fb9a8b55 100644
--- a/libperfmgr/HintManager.cc
+++ b/libperfmgr/HintManager.cc
@@ -308,7 +308,7 @@ std::map<std::string, std::vector<NodeAction>> HintManager::ParseActions(
if (nodes_index.find(node_name) == nodes_index.end()) {
LOG(ERROR) << "Failed to find "
<< "Action[" << i
- << "]'s Node from Nodes section: " << node_name;
+ << "]'s Node from Nodes section: [" << node_name << "]";
actions_parsed.clear();
return actions_parsed;
}
@@ -321,7 +321,7 @@ std::map<std::string, std::vector<NodeAction>> HintManager::ParseActions(
if (!nodes[node_index]->GetValueIndex(value_name, &value_index)) {
LOG(ERROR) << "Failed to read Action[" << i << "]'s Value";
LOG(ERROR) << "Action[" << i << "]'s Value " << value_name
- << " is not defined in Node[" << node_name;
+ << " is not defined in Node[" << node_name << "]";
actions_parsed.clear();
return actions_parsed;
}