17#ifndef CYBER_RECORD_RECORD_MESSAGE_H_
18#define CYBER_RECORD_RECORD_MESSAGE_H_
27static constexpr size_t kGB = 1 << 30;
28static constexpr size_t kMB = 1 << 20;
29static constexpr size_t kKB = 1 << 10;
Basic data struct of record message.
std::string content
The content of the message.
uint64_t time
The time (nanosecond) of the message.
RecordMessage(const std::string &name, const std::string &message, uint64_t msg_time)
The constructor.
std::string channel_name
The channel name of the message.
RecordMessage()
The constructor.