Owns a snapshot of a span's tracing identifiers and sampling state for logging.
Definition in file span_log_context.hpp.
Go to the source code of this file.
#include <cstddef>#include <iosfwd>#include <optional>#include <string_view>#include <userver/compiler/impl/lifetime.hpp>#include <userver/logging/log_extra.hpp>#include <userver/tracing/fwd.hpp>#include <userver/utils/small_string.hpp>Classes | |
| class | tracing::SpanLogContext |
| Owns a snapshot of a span's tracing identifiers and sampling state for logging. More... | |
Namespaces | |
| namespace | tracing |
| Distributed tracing helpers and identifiers. | |
Functions | |
| void | tracing::PrintTo (const SpanLogContext &context, std::ostream *os) |