namespace
TraceRuntime 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)
#include <Core/ITraceSink.h>
Registers the sink and initializes the event logger if no sink was attached before.
void Death:: Trace:: DetachSink(ITraceSink* sink)
#include <Core/ITraceSink.h>
Unregisters the sink and uninitializes the event logger if no sink left.
void Death:: Trace:: Flush()
#include <Core/ITraceSink.h>
Flushes and waits until all prior items are written to all sinks.