class
SushiDSP::ILogSink
Receives formatted log lines and puts them somewhere.
- Declared in
include/SushiDSP/log/ILogSink.hpp
Public member functions
virtual ~ILogSink()=defaultvirtual void write(const LogRecord &record) noexcept=0Takes one line.
Any thread may call it, several at once.
Parameters
recordIts message is valid only during the call; a sink that keeps it copies it.
virtual void flush() noexcept=0Returns once every line written before the call has reached its destination.

