Effect CommunityEC
Effect Communityโ€ข3y agoโ€ข
27 replies
Stephen Bluck

Annotating Logs with Effect Result

I need to annotate the logs with the result of an effect, is that possible?

program.pipe(
  Effect.annotateLogs('requestId', createRequestId),
  Runtime.runPromiseExit(runtime)
)

createRequestId is my Effect but I can't seem to workout how to stitch it all together. It's quite early and am lacking coffee.
Was this page helpful?