Optimizing Logging in Effect.forEach with Filters

What‘s the recommended approach for gathering logs when in e.g. in an effect forEach with a filter, where I want to gather all the logs and then return one log with data based on the filter within the foreach?

(Currently using Effect.tap and logging there, but this creates way to many log entries due to the amount of elements gone through)
Was this page helpful?