in toolkit/log/span.go [51:61]
func (s *otelSpan) SetAttributes(attributes map[string]interface{}) {
if !s.IsValid() {
return
}
attrs := []attribute.KeyValue{}
for k, v := range attributes {
attrs = append(attrs, s.getAttribute(k, v))
}
s.span.SetAttributes(attrs...)
}