struct mola::DiagnosticStatusMsg

Overview

A structured diagnostic status message (REP-107 compatible)

#include <DiagnosticsProvider.h>

struct DiagnosticStatusMsg
{
    // fields

    DiagnosticLevel level = DiagnosticLevel::OK;
    std::string name;
    std::string message;
    std::string hardware_id;
    std::vector<DiagnosticKeyValue> values;
};

Fields

std::string name

e.g. “ICP Quality”

std::string message

Human-readable summary.

std::string hardware_id

e.g. “mola_lo”

std::vector<DiagnosticKeyValue> values

Structured k-v pairs.