| 140 | } |
| 141 | |
| 142 | std::string ListLogCategories() |
| 143 | { |
| 144 | std::string ret; |
| 145 | int outcount = 0; |
| 146 | for (const CLogCategoryDesc& category_desc : LogCategories) { |
| 147 | // Omit the special cases. |
| 148 | if (category_desc.flag != BCLog::NONE && category_desc.flag != BCLog::ALL) { |
| 149 | if (outcount != 0) ret += ", "; |
| 150 | ret += category_desc.category; |
| 151 | outcount++; |
| 152 | } |
| 153 | } |
| 154 | return ret; |
| 155 | } |
| 156 | |
| 157 | std::vector<CLogCategoryActive> ListActiveLogCategories() |
| 158 | { |
no outgoing calls
no test coverage detected