#How to access the console.logs generated in Remix loader functions

1 messages · Page 1 of 1 (latest)

deep dagger
#

My Remix app is deployed to Vercel. I have a couple of console.logs from loader function that I need to see but since loader function is executed on Express I cant see it in browser console. Can I make use of Vercel Functions to capture the logs? Or is there a simpler way that I am missing?

dense magnet
#

They should appear in Vercel’s functions logs.

patent hornet
#

Indeed - also note that the logs only show up when the page is open, they're not persisted by default. If you want to persist logs to storage somewhere, to query or inspect, you can use a logging integration + log drain https://vercel.com/integrations#logging

Extend and automate your workflow by using integrations for your favorite tools.