Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance Method

startAnySpan(_:context:ofKind:at:function:file:line:)

Deprecated

prefer withSpan

func startAnySpan<Instant>(_ operationName: String, context: @autoclosure () -> ServiceContext, ofKind kind: SpanKind, at instant: @autoclosure () -> Instant, function: String, file fileID: String, line: UInt) -> InMemorySpan where Instant : TracerInstant