#include <userver/tracing/tag_scope.hpp>
RAII object that calls Span::AddTag/Span::AddTagFrozen function in constructor and reverts these actions in destructor.
Definition at line 20 of file tag_scope.hpp.
Public Member Functions | |
TagScope (std::string key, logging::LogExtra::Value value, logging::LogExtra::ExtendType extend_type=logging::LogExtra::ExtendType::kNormal) | |
TagScope (Span &parent, std::string key, logging::LogExtra::Value value, logging::LogExtra::ExtendType extend_type=logging::LogExtra::ExtendType::kNormal) | |
TagScope (logging::LogExtra &&extra) | |
TagScope (Span &parent, logging::LogExtra &&extra) | |
TagScope (const TagScope &other)=delete | |
TagScope & | operator= (const TagScope &other)=delete |
TagScope (TagScope &&other)=delete | |
TagScope & | operator= (TagScope &&other)=delete |