| 125 | } |
| 126 | |
| 127 | std::vector<TLogInterface> LogSystemConfig::allLocalLogs(bool includeSatellite) const { |
| 128 | std::vector<TLogInterface> results; |
| 129 | for (int i = 0; i < tLogs.size(); i++) { |
| 130 | // skip satellite TLogs, if it was not needed |
| 131 | if (!includeSatellite && tLogs[i].locality == tagLocalitySatellite) { |
| 132 | continue; |
| 133 | } |
| 134 | if (tLogs[i].isLocal) { |
| 135 | for (int j = 0; j < tLogs[i].tLogs.size(); j++) { |
| 136 | if (tLogs[i].tLogs[j].present()) { |
| 137 | results.push_back(tLogs[i].tLogs[j].interf()); |
| 138 | } |
| 139 | } |
| 140 | } |
| 141 | } |
| 142 | return results; |
| 143 | } |
| 144 | |
| 145 | int LogSystemConfig::numLogs() const { |
| 146 | int numLogs = 0; |
no test coverage detected