How to do logging in React Native?

  • I had the same issue: console messages were not appearing in XCode’s debug area.
  • VS Code is, more often than not, React Native friendly.
  • In my app I did cmd-d to bring up the debug menu, and remembered I had set “Debug in Safari” on.
  • If you select the ” Debug in Chrome ” or ” Debug in Safari ” options from the rage shake menu ( ⌘
  • I turned this off, and some messages were printed to the output message, but not my console messages.

Read the full article, click here.


@martinkonicek: “Easily read #react-native logs on the commands line: react-native log-ios, react-native log-android:”


console.log works. By default on iOS, it logs to the debug pane inside Xcode. If you select the “Debug in Chrome” or “Debug in Safari” options from the rage shake menu (⌘+^+Z), it will log to the browser’s console instead.


How to do logging in React Native?