tencent cloud

Tencent Cloud Super App as a Service

Internal Log Reporting

Download
Focus Mode
Font Size
Last updated: 2025-07-04 18:03:48
The real-time event log reporting API can be implemented in the superapp to override the reporting logic in the SDK.
This includes the log data written internally via wx.getLogManager in the mini program. Users can upload the output logs by using the open-type="feedback" of the button component.
// Upload logs for the mini program corresponding to the appid
// When implementing, you can use the sandBoxPathWithAppID: API of TMFMiniAppSDKManager to obtain the sandbox path, then concatenate it with `usr/miniprogramLog/` to obtain the full path.
// @param appID The appid of the mini program/mini game

- (void)uploadLogFileWithAppID:(NSString *)appID;



Help and Support

Was this page helpful?

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

Feedback