25 logging::LogExtra::Value value,
32 logging::LogExtra::Value value,
36 explicit TagScope(logging::LogExtra&& extra);
38 explicit TagScope(Span& parent, logging::LogExtra&& extra);
42 TagScope(
const TagScope& other) =
delete;
49 void AddTag(std::string&& key, logging::LogExtra::ProtectedValue&& value);
51 static constexpr std::size_t kNewKeysVectorSize = 8;
54 std::size_t new_tags_begin_index_;
55 std::size_t new_tags_end_index_;
56 std::vector<std::pair<std::size_t, logging::LogExtra::ProtectedValue>> previous_values_;