# wx.miniapp.onOpensdkLog
Support only iOS
This capability can be exported usingWeChat Open SDK Log of the process.
# JSAPI Examples of code
const opensdkLog = (e) => {
console.log('onOpensdkLog', e)
}
// registered
wx.miniapp.onOpensdkLog(opensdkLog)
// Cancellation of registration
wx.miniapp.offOpensdkLog(opensdkLog)