on 05 May 2023 09:48 AM
Why do we need the metro logs?
When starting the React Native application with react-native run-android
, react-native run-ios
or react-native start --reset-cache
. It will generate more logs in the terminal or command line. Some actions are generated after instrumentation of the code in the Metro transformer so it will be shown here. And will help in the investigation.
How to get the metro logs?
As mentioned it will be found in the terminal or command line. See screenshot for reference.