Showing results for 
Show  only  | Search instead for 
Did you mean: 
Dynatrace Advisor
Dynatrace Advisor

Why do we need the metro logs?

When starting the React Native application with react-native run-androidreact-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.

Screenshot 2023-05-02 at 5.22.02 pm.png

NOTE: You can copy/paste the logs from start to finish into a .txt file for easier investigation.

Version history
Last update:
‎04 May 2023 04:40 AM
Updated by:
DynaMight Legend
DynaMight Legend

Thanks for sharing this