@embrace-io/web-sdk
Version:
3 lines (2 loc) • 482 B
JavaScript
import{INVALID_SPAN_CONTEXT as t}from"@opentelemetry/api";class e{constructor(e=t){this._spanContext=e}fail(t){}spanContext(){return this._spanContext}setAttribute(t,e){return this}setAttributes(t){return this}addEvent(t,e,r){return this}addLink(t){return this}addLinks(t){return this}setStatus(t){return this}updateName(t){return this}end(t){}isRecording(){return!1}recordException(t,e){}}export{e as NonRecordingExtendedSpan};
//# sourceMappingURL=NonRecordingExtendedSpan.js.map