File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -123,15 +123,6 @@ extension Tracer {
123
123
public func recordingSpan( identifiedBy context: ServiceContext ) -> Span ? {
124
124
nil
125
125
}
126
-
127
- /// Attempt to retrieve the current recording span based on the task-local `ServiceContext`.
128
- ///
129
- /// - Note: This method should be considered best-effort as it might not (yet) be supported by the application author's `Tracer` of choice.
130
- /// - Returns: A span if one can be obtained via the task-local `ServiceContext`.
131
- public func currentSpan( ) -> Span ? {
132
- guard let context = ServiceContext . current else { return nil }
133
- return recordingSpan ( identifiedBy: context)
134
- }
135
126
}
136
127
137
128
// ==== ----------------------------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments