Death::Trace namespace

Runtime event tracing implementation, should be used along with Asserts.h.

Classes

class Logger
Logger enqueues trace items for processing.
class LoggerBackend
Logger backend processes trace items in the background.

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 items are written to all sinks.

Function documentation

void Death::Trace::AttachSink(ITraceSink* sink)

Registers the sink and initializes the event logger if no sink was attached before.

void Death::Trace::DetachSink(ITraceSink* sink)

Unregisters the sink and uninitializes the event logger if no sink left.

void Death::Trace::Flush()

Flushes and waits until all prior items are written to all sinks.