MCPcopy Create free account
hub / github.com/dds-bridge/dds / log_append

Method log_append

library/src/system/util/utilities.hpp:40–40  ·  view source on GitHub ↗

Logging: a very simple append-only buffer; callers can flush and clear.

Source from the content-addressed store, hash-verified

38
39 // Logging: a very simple append-only buffer; callers can flush and clear.
40 void log_append(const std::string& s) { log_.push_back(s); }
41 const std::vector<std::string>& log_buffer() const { return log_; }
42 size_t log_size() const { return log_.size(); }
43 bool log_contains(const std::string& prefix) const {

Callers 2

TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36