You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2026-06-03 18:35:08 +02:00
attribute: Set.MarshalLog to use Value.String instead of Value.Emit (#8169)
Towards https://github.com/open-telemetry/opentelemetry-go/issues/8145
This commit is contained in:
@@ -1009,7 +1009,7 @@ func kvStr(kvs []attribute.KeyValue) string {
|
||||
}
|
||||
_, _ = sb.WriteString(string(attr.Key))
|
||||
_, _ = sb.WriteString(": ")
|
||||
_, _ = sb.WriteString(attr.Value.Emit())
|
||||
_, _ = sb.WriteString(attr.Value.String())
|
||||
}
|
||||
_, _ = sb.WriteRune(']')
|
||||
return sb.String()
|
||||
|
||||
Reference in New Issue
Block a user