How can I log (console.log) errors or other stuff using the expo on my device?

how can i log ( console log ) errors or other stuff using the expo on my device ?

fyi : for some reason it doesnt run on my ios simulator.

Hey harryp!

I’ve attached a screenshot to show you an example of where console.log statements appear.

In my code you can see that I have a console.log(‘test’). Also you’ll see that warnings appear in the iOS simulator. So if you would like to get those types of warnings you can use different console method.

If you need more help, this is a good reference: https://docs.expo.io/versions/v17.0.0/guides/debugging.html#debugging-javascript

I hope this helps! Let me know if you are still stuck.

I got you sir, thanks

1 Like

there is also a doc that describes viewing logs: https://docs.expo.io/versions/v17.0.0/guides/logging.html

1 Like

@jimmylee
Link not Working.

1 Like