Skip to main content Link Search Menu Expand Document (external link)

LoggerOptions overview

Added in v1.0.0


Table of contents


logger options

getLoggerOptions

Signature

export declare const getLoggerOptions: Effect.Effect<ConstructorOptions, never, never>

Added in v1.0.0

setLoggerOptions

Signature

export declare const setLoggerOptions: (options: ConstructorOptions) => Layer.Layer<never, never, never>

Added in v1.0.0

withLoggerOptions

Signature

export declare const withLoggerOptions: {
  (options: ConstructorOptions): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>
  <A, E, R>(effect: Effect.Effect<A, E, R>, options: ConstructorOptions): Effect.Effect<A, E, R>
}

Added in v1.0.0