Class o80::Logger

class o80::Logger

Public Functions

Logger(int queue_size, std::string segment_id, bool leader)
void log(std::string user_segment_id, LogAction action)
std::size_t length()
std::tuple<time_series::Timestamp, LogEntry> get(time_series::Index index, time_series::Index start_index = -1)
void save(std::string path)

Private Members

std::string segment_id_
time_series::MultiprocessTimeSeries<LogEntry> logs_