tencent cloud

Tencent Cloud Super App as a Service

DokumentasiTencent Cloud Super App as a Service

Real-Time Log Reporting

Mode fokus
Ukuran font
Terakhir diperbarui: 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;



Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan