I was deploying an application using Netlify Function. While doing so I was trying to access logs and surprisingly I was able to see logs only when there is an Uncaught Exception. In Other cases, the console.log statements which should be logged as Info doesn't show up , despite executing the same flow.
My code uses Apolloservver for Graphql, but even a basic console.log statement which are written before the server are also not working
With Uncaught Exception
Without Uncaught Exception