123 std::string_view key,
175 std::string_view span_id,
176 std::optional<std::string_view> parent_span_id = std::nullopt);
189 std::optional<std::string_view> correlation_id = std::nullopt);
206 void track_key(std::string_view key);
RAII guard for automatic context management.
scoped_context_guard & operator=(const scoped_context_guard &)=delete
unified_log_context saved_context_
scoped_context_guard(const scoped_context_guard &)=delete
std::vector< std::string > tracked_keys_
Unified interface for managing all types of logging context.
std::variant< std::monostate, bool, int64_t, double, std::string > context_value
Value type for unified context storage.
OpenTelemetry context for trace correlation.
Unified interface for managing all types of logging context.