Supported on iOS only.
This feature outputs logs for the usage process of the WeChat Open SDK.
JSAPI Code Example
const opensdkLog = (e) => {
console.log('onOpensdkLog', e)
}
// Register
wx.miniapp.onOpensdkLog(opensdkLog)
// Unregister
wx.miniapp.offOpensdkLog(opensdkLog)