file
ITraceSink.hInterface Death::
Namespaces
- namespace Death
- Shared root namespace.
- namespace Death::Trace
- Runtime event tracing implementation, should be used along with Asserts.h.
Classes
- class Death::ITraceSink
- Interface for sink to be used by logger writing to it.
Functions
- void AttachSink(ITraceSink* sink)
- Registers the sink and initializes the event logger if no sink was attached before.
- void DetachSink(ITraceSink* sink)
- Unregisters the sink and uninitializes the event logger if no sink left.
- void Flush()
- Flushes and waits until all prior entries are written to all sinks.
-
void InitializeBacktrace(std::
uint32_t maxCapacity, TraceLevel flushLevel = TraceLevel:: Unknown) - Initializes backtrace storage for TraceLevel::
Deferred. - void FlushBacktraceAsync()
- Writes any stored deferred entries to all sinks asynchronously.