* A DictionaryFragment contains a partial mapping of unique identifiers to * static log information on disk. Following this structure is one or more * CompressedLogInfo. The order in which these log infos appear determine * its unique identifier (i.e. by order of appearance starting at 0). */
| 331 | * its unique identifier (i.e. by order of appearance starting at 0). |
| 332 | */ |
| 333 | struct DictionaryFragment { |
| 334 | // Byte representation of an EntryType::LOG_MSG_OR_DIC to indicate |
| 335 | // the start of a dictionary fragment. |
| 336 | uint32_t entryType:2; |
| 337 | |
| 338 | // Number of bytes for this fragment (including all CompressedLogInfo) |
| 339 | uint32_t newMetadataBytes:30; |
| 340 | |
| 341 | // Total number of FormatMetadata encountered so far in the log |
| 342 | // including this fragment (used as a sanity check only). |
| 343 | uint32_t totalMetadataEntries; |
| 344 | } __attribute__((packed)); |
| 345 | |
| 346 | /** |
| 347 | * Stores the static log information associated with a log message on disk. |
nothing calls this directly
no outgoing calls
no test coverage detected