* Simple presentation of information * @param desc Descriptors of information * @param info Vector of information * @param space Print empty line before first item */
| 60 | * @param space Print empty line before first item |
| 61 | */ |
| 62 | void presentSimple(const std::vector<std::string> &desc, const std::vector<std::string> &info, bool space) |
| 63 | { |
| 64 | for(std::size_t i = 0, e = std::min(desc.size(), info.size()); i < e; ++i) |
| 65 | { |
| 66 | if(!desc[i].empty() && !info[i].empty()) |
| 67 | { |
| 68 | if(space) |
| 69 | { |
| 70 | Log::info() << "\n"; |
| 71 | space = false; |
| 72 | } |
| 73 | Log::info() << desc[i] << info[i] << "\n"; |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | /** |
| 79 | * Present information from simple getter |
no test coverage detected