All Products
Search
Document Center

Mobile Platform as a Service:How to capture release package logs in mPaaS

Last Updated:Dec 08, 2022

Scenarios

Capture the output of H5Log in the release mode. You can view the logs in Logcat in Android Studio.

Procedure

Add the meta-data attribute to the manifest file:

 <meta-data
      android:name="print.log.date"
      android:value="yyyyMMdd" /> 
       <!-- The value of the value parameter is in the format YYYYMMDD, such as 20221124. -->