Effect CommunityEC
Effect Community2y ago
25 replies
Stephen Bluck

Integrating Custom Logs with Logger.pretty Middleware in HttpApp

When using the HttpApp with the logger middleware using a Logger.pretty I see nice logs like so. If you look at the first log coming from my own Effect.logInfo, I would like to attach some data to this log so it formats in the same way this middleware formats it - see http.status: 200 as an example. Is that possible?
Screenshot_2024-07-30_at_19.32.51.png
Was this page helpful?