quill
|
Stores N max messages per logger name in a vector. More...
#include <BacktraceStorage.h>
Public Member Functions | |
void | store (TransitEvent transit_event, std::string_view const &thread_id, std::string_view const &thread_name) |
void | process (std::function< void(TransitEvent const &, std::string_view thread_id, std::string_view thread_name)> const &callback) |
void | set_capacity (uint32_t capacity) |
Stores N max messages per logger name in a vector.
For simplicity this class is used ONLY by the backend worker thread. We push to the queue a BacktraceCommand event to communicate this from the frontend caller threads