| 182 | } |
| 183 | |
| 184 | std::string logBackupDR(const char* context, std::map<std::string, std::string> const& tagMap) { |
| 185 | std::string outputString = ""; |
| 186 | if (tagMap.size() > 0) { |
| 187 | outputString += format("\n\n%s:", context); |
| 188 | for (auto itr : tagMap) { |
| 189 | outputString += format("\n %-22s", itr.first.c_str()); |
| 190 | if (itr.second.size() > 0) { |
| 191 | outputString += format(" - %s", itr.second.c_str()); |
| 192 | } |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | return outputString; |
| 197 | } |
| 198 | |
| 199 | } // namespace |
| 200 |
no test coverage detected