Death::Trace::LoggerBackend class

Logger backend processes trace items in the background.

This class should not usually be used directly.

Constructors, destructors, conversion operators

LoggerBackend()
~LoggerBackend()
LoggerBackend(LoggerBackend const&) deleted

Public functions

auto operator=(LoggerBackend const&) -> LoggerBackend& deleted
void AttachSink(ITraceSink* sink)
Registers the sink.
void RemoveSink(ITraceSink* sink)
Unregisters the sink.
void Notify() noexcept
Notifies the background worker about new entries in the queue.
auto IsAlive() const -> bool noexcept
Returns true if the background worker is alive.
auto IsWorkerThread() const -> bool noexcept
Returns true if the current thread is the background worker thread.
auto GetBacktraceFlushLevel() const -> TraceLevel noexcept
Returns minimum trace level to trigger automatic flushing of deferred entries.
void SetBacktraceFlushLevel(TraceLevel flushLevel) noexcept
Sets minimum trace level to trigger automatic flushing of deferred entries.