How to get webtask's logs?

I would like to browse logs generated by my webtasks. I can only see the streaming API in the docs. Is there any way to access the historical logs? If not, what kind of approach would you suggest to persist the logs using the streaming API?

The streaming API is mostly intended to provide you a window into the execution of your Webtasks for troubleshooting reasons. If you really need to generate log data that needs to be persisted you should consider sending those logs directly to your logging infra-structure as this way you’re in full control.

There are Auth0 products that use Webtasks and that may provide you additional options when it comes to logging so if that’s your scenario please update your question with additional information.