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 DetachSink(ITraceSink* sink)
Unregisters the sink.
void Notify()
Notifies the background worker about new entries in the queue.
void DispatchEntryToSinks(TraceLevel level, std::uint64_t timestamp, const void* content, std::int32_t contentLength)
Dispatches the specified entry to all sinks.
void FlushActiveSinks()
Flushes and waits until all prior entries are written to all sinks.