tencent cloud

Tencent Cloud Super App as a Service

Real-Time 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 log data written by the internal call to wx.getRealtimeLogManager within the mini program.
// Report log data
// @param appId
// @param jsVersion Base library version
// @param page Current page
// @param filterMsgs Filter content
// @param logs Log event
// @param completionBlock Result callback
// @return Whether to intercept internal reporting
- (BOOL)reportRealTimeLogWithAppId:(NSString *)appId
jsVersion:(NSString *)jsVersion
page:(NSString *)page
filterMsgs:(NSArray <NSString *>*)filterMsgs
logs:(NSArray <TMARealtimeLogItem *>*)logs
completionBlock:(void (^)(NSError * _Nullable error))completionBlock;



Help and Support

Was this page helpful?

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

Feedback