- Use
console.log,console.warnetc. - Use
console.debug("text");to see the logs inside the terminal.
Steps:
- Run the application:
react-native run-ios # For iOS
react-native run-android # For Android
- Run the logger:
react-native log-ios # For iOS
react-native log-android # For Android