| 56 | } |
| 57 | |
| 58 | std::string DumpedLogs::verboseLogsToString() const { |
| 59 | std::string output; |
| 60 | |
| 61 | auto first = true; |
| 62 | for (const auto& verboseLogs : getVerbose()) { |
| 63 | if (!first) { |
| 64 | output += "\n\n"; |
| 65 | } |
| 66 | first = false; |
| 67 | output += verboseLogs.name.toStringView(); |
| 68 | output += ":"; |
| 69 | output += verboseLogs.data.toString(true); |
| 70 | } |
| 71 | |
| 72 | return output; |
| 73 | } |
| 74 | |
| 75 | } // namespace Valdi |
no test coverage detected