79719009

Date: 2025-07-29 17:29:01
Score: 0.5
Natty:
Report link
this worked:    std::unordered_map<std::string, common::AttributeValue> attributes_;
    attributes_[std::string("event_type")] = std::string("my event");
    attributes_[std::string("flow_id")] = 4567;
    attributes_[std::string("u32")]  = 123;
    attributes_[std::string("bool")] = true;

    logger->EmitLogRecord(opentelemetry::logs::Severity::kInfo, "Body: User login via gRPC", attributes_);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: darnell_a