class LogsData

Defined at line 28 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h

Container for inspect data returned by a component.

This class provides methods for parsing common fields from diagnostics output.

Public Methods

void LogsData (const LogsData & )

Movable but not copyable.

Defined at line 65 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h

void LogsData (LogsData && )

Defined at line 66 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h

LogsData & operator= (const LogsData & )

Defined at line 67 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h

LogsData & operator= (LogsData && )

Defined at line 68 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h

const std::string & moniker ()

Return the moniker of the component that created this data.

Defined at line 71 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h

uint64_t version ()

Return the version of the component that created this data.

Defined at line 74 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h

const LogsData::Metadata & metadata ()

Return the metadata of the component that created this data.

Defined at line 77 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h

const std::string & message ()

Return the message of the log.

Defined at line 80 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h

const std::vector<inspect::PropertyValue> & keys ()

Return the structured keys of the log.

Defined at line 83 of file ../../sdk/lib/diagnostics/reader/cpp/logs.h

void LogsData (rapidjson::Document document)

Create a new LogsData wrapper from a JSON document.

Defined at line 131 of file ../../sdk/lib/diagnostics/reader/cpp/logs.cc

Records