ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
trace_context_injector Struct Reference

Helper to add trace context attributes to a log record. More...

#include <macros.hpp>

Collaboration diagram for trace_context_injector:
Collaboration graph

Public Member Functions

 trace_context_injector (const domain::telemetry_context &c)
 

Public Attributes

const domain::telemetry_contextctx
 

Detailed Description

Helper to add trace context attributes to a log record.

This is used by the TLOG_SEV macro to inject trace_id and span_id into the log record for correlation with distributed traces.