Skip to main content

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

ParameterTypeDescription
spanSpanThe span to end.
status?"error" | "ok"Optional status for the span.

Returns

void