Contents

class

SushiDSP::ILogSink

Receives formatted log lines and puts them somewhere.

Declared in
include/SushiDSP/log/ILogSink.hpp

Public member functions

virtual ~ILogSink()=default
virtual void write(const LogRecord &record) noexcept=0

Takes one line.

Any thread may call it, several at once.

Parameters

record

Its message is valid only during the call; a sink that keeps it copies it.

virtual void flush() noexcept=0

Returns once every line written before the call has reached its destination.