Best Practice for Logging `Cause` in Datadog/Sentry

What is the best way to log a Cause so it appears nicely in some provider like Datadog/Sentry etc... Is it this?
 Effect.tapErrorCause((e) => Effect.logError(Cause.pretty(e))),
Was this page helpful?