GuitarPrometheus::Profiles::DiagnosticReport
GuitarPrometheus::Profiles::DiagnosticReport
Formats a list of ProfileIssues into a human-readable report. More…
#include <DiagnosticReport.h>
Public Functions
| Name | |
|---|---|
| std::string | format(const std::vector< ProfileIssue > & issues) Format the issue list. |
Detailed Description
class GuitarPrometheus::Profiles::DiagnosticReport;Formats a list of ProfileIssues into a human-readable report.
Used both for startup logging (Phase 4) and as input to the Phase 7 Debug Profiles UI. The format is a stable contract — tests snapshot a known scenario.
Public Functions Documentation
function format
static std::string format( const std::vector< ProfileIssue > & issues)Format the issue list.
Errors are listed first, then warnings. Each issue is one line: [severity] <file>:<field> — <reason>. When the input is empty, returns the stable string "All profiles loaded cleanly.".
Updated on 2026-05-29 at 07:39:52 +0000