(options: Tracer): TracerCreates a Tracer value from a tracer implementation object.
When to use
Use to create a custom tracing backend value that Effect can use when creating spans.
Details
make returns the supplied implementation object unchanged. The object must
satisfy the Tracer contract, including a span method that returns a
Span.
constructorsSpan
Source effect/Tracer.ts:4191 lines
export const const make: (options: Tracer) => TracerCreates a Tracer value from a tracer implementation object.
When to use
Use to create a custom tracing backend value that Effect can use when
creating spans.
Details
make returns the supplied implementation object unchanged. The object must
satisfy the Tracer contract, including a span method that returns a
Span.
make = (options: Tracer(parameter) options: {
span: (this: Tracer, options: { readonly name: string; readonly parent: Option.Option<AnySpan>; readonly annotations: Context.Context<never>; readonly links: Array<SpanLink>; readonly startTime: bigint; readonly kind: SpanKind; readonly root: bo…;
context: (<X>(primitive: EffectPrimitive<X>, fiber: Fiber<any, any>) => X) | undefined;
}
options: Tracer): Tracer => options: Tracer(parameter) options: {
span: (this: Tracer, options: { readonly name: string; readonly parent: Option.Option<AnySpan>; readonly annotations: Context.Context<never>; readonly links: Array<SpanLink>; readonly startTime: bigint; readonly kind: SpanKind; readonly root: bo…;
context: (<X>(primitive: EffectPrimitive<X>, fiber: Fiber<any, any>) => X) | undefined;
}
optionsReferenced by 2 symbols