endSpan()
function endSpan(span: Span, status?: "error" | "ok"): void;
Defined in: src/lib/logging/context.ts:271
Ends a span and pops it from the context stack.
Parameters
| Parameter | Type | Description |
|---|---|---|
span | Span | The span to end. |
status? | "error" | "ok" | Optional status for the span. |
Returns
void