| 174 | explicit ServerLogData(ServerLogType type, std::string content) : type_(type), content_(std::move(content)) {} |
| 175 | |
| 176 | ServerLogType GetType() const { return type_; } |
| 177 | std::string GetContent() const { return content_; } |
| 178 | std::string Encode() const; |
| 179 | Status Decode(const rocksdb::Slice &blob); |