tencent cloud

Tencent Cloud Super App as a Service

Real-Time Log Reporting

PDF
Focus Mode
Font Size
Last updated: 2025-07-04 17:33:31

Real-time log reporting

The superapp can customize the real-time log reporting logic for mini programs by implementing the MiniAppProxy's reportRealTimeLog method.
Note:
This includes log data written internally by the mini program using wx.getRealtimeLogManager .
The API is as follows:
/**
* Mini program real-time log reporting proxy
* @param page - Current page
* @param jsLibVersion - Base library version
* @param app - Mini program information
* @param filterMsgs - Filter keywords
* @param log - Log
* @return - Returns true if the SDK's internal reporting logic should not be executed
*/
public abstract boolean reportRealTimeLog(String page, String jsLibVersion, MiniApp app, String[] filterMsgs,
ArrayList<RealTimeLogItem> logs);





Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback