mirror of
https://github.com/apple/swift-log
synced 2026-11-27 04:14:20 +00:00
minor nitpick, use string interpolation where we can
This commit is contained in:
1 parent
7cbc402e0d
commit
2c3ee82e27
1 file changed
+2
-2
@@ -75,8 +75,8 @@ extension Logger.MetadataProvider {
|
||||
static let tracer = Logger.MetadataProvider { baggage in
|
||||
guard let spanContext = baggage?.spanContext else { return nil }
|
||||
return [
|
||||
"traceID": .stringConvertible(spanContext.traceID),
|
||||
"spanID": .stringConvertible(spanContext.spanID),
|
||||
"traceID": "\(spanContext.traceID)",
|
||||
"spanID": "\(spanContext.spanID)",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user