class
SushiDSP::CapturingLogSink
Keeps every line it receives, in arrival order, before write() returns.
- Declared in
include/SushiDSP/log/CapturingLogSink.hpp- Inherits
SushiDSP::ILogSink
Public member functions
virtual void write(const LogRecord &record) noexcept overrideAppends a copy of the line.
virtual void flush() noexcept overrideCounts the call; the lines are already stored.
std::vector< CapturedLogLine > lines() constReturns a copy of the lines received so far.
std::size_t flush_count() constReturns how many times flush() was called.

