Enable or disable network logging
API reference for enabling or disabling network logging in Luciq. Network monitoring works out of the box and accepts a boolean toggle.
Network monitoring works out of the box. You can enable or disable it using the following APIs and passing a boolean to it.
NetworkLogger.enabled = falseLCQNetworkLogger.enabled = NO;//Disable
Luciq {
APM {
networkInterceptingEnabled false
}
}
//Enable
Luciq {
APM {
networkInterceptingEnabled true
}
}// Enable
APM.setNetworkEnabledIOS(true)
// Disable
APM.setNetworkEnabledIOS(false)Luciq {
APM {
networkInterceptingEnabled false
}
}Last updated