How to view full Shopify Function logs without truncation?

Hi,
I’m working on a Shopify Function and using console.log() for debugging. However, the logs are getting truncated in the terminal, especially for larger objects or messages.

Is there a way to see the full logs without them being cut off? I’d like to capture or view the complete output during development for better debugging.

Thanks in advance!