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

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.

DynaMight Legend
DynaMight Legend

Thanks for sharing this 

New Article
Version history
Last update:
‎03 May 2023 08:40 PM
Updated by: