add dump with id key

This commit is contained in:
John
2025-01-12 22:04:42 +01:00
parent 34552eab61
commit 4ebecb10e2
2 changed files with 7 additions and 2 deletions
+3
View File
@@ -941,6 +941,9 @@ void Message::dumpField(const string& fieldName, bool withConditions, OutputForm
for (auto it = m_id.begin()+2; it < m_id.end(); it++) {
*output << hex << setw(2) << setfill('0') << static_cast<unsigned>(*it);
}
if (outputFormat & OF_ALL_ATTRS) {
*output << "=" << hex << setw(0) << setfill('0') << static_cast<uint64_t>(m_key);
}
return;
}
if (fieldName == "fields") {