콘텐츠로 이동

setTracingContextStorage

이 콘텐츠는 아직 번역되지 않았습니다.

function setTracingContextStorage(storage?): void;

Sets the context storage implementation used for tracing.

Use this before starting traces in runtimes that cannot rely on the SDK’s default AsyncLocalStorage implementation. Pass undefined to restore the default storage.

Parameter Type

storage?

TracingContextStorage<any>

void