diff --git a/docs/modules/DefaultServices.ts.md b/docs/modules/DefaultServices.ts.md index 93dc2112..2dc411a6 100644 --- a/docs/modules/DefaultServices.ts.md +++ b/docs/modules/DefaultServices.ts.md @@ -52,7 +52,7 @@ Added in v1.0.0 **Signature** ```ts -export type DefaultServices = Clock.Clock | Random.Random | ConfigProvider.ConfigProvider +export type DefaultServices = Clock.Clock | Random.Random | ConfigProvider.ConfigProvider | Tracer.Tracer ``` Added in v1.0.0 diff --git a/docs/modules/Tracer.ts.md b/docs/modules/Tracer.ts.md index dfd77c67..4f628ed9 100644 --- a/docs/modules/Tracer.ts.md +++ b/docs/modules/Tracer.ts.md @@ -12,6 +12,8 @@ Added in v1.0.0

Table of contents

+- [constructors](#constructors) + - [tracerWith](#tracerwith) - [utils](#utils) - [ExternalSpan (interface)](#externalspan-interface) - [ParentSpan (type alias)](#parentspan-type-alias) @@ -28,6 +30,18 @@ Added in v1.0.0 --- +# constructors + +## tracerWith + +**Signature** + +```ts +export declare const tracerWith: (f: (tracer: Tracer) => Effect.Effect) => Effect.Effect +``` + +Added in v1.0.0 + # utils ## ExternalSpan (interface) @@ -181,13 +195,14 @@ Added in v1.0.0 ```ts export declare const withSpan: { - (name: string, options?: { attributes?: Record; parent?: ParentSpan; root?: boolean }): ( - self: Effect.Effect - ) => Effect.Effect + ( + name: string, + options?: { attributes?: Record | undefined; parent?: ParentSpan; root?: boolean } | undefined + ): (self: Effect.Effect) => Effect.Effect ( self: Effect.Effect, name: string, - options?: { attributes?: Record; parent?: ParentSpan; root?: boolean } + options?: { attributes?: Record | undefined; parent?: ParentSpan; root?: boolean } | undefined ): Effect.Effect } ```