Logger.writeLogForiOS
The logs are disabled by default. In order to use ZohoSalesIQ.Logger.write() function. Ensure the bool value of ZohoSalesIQ.Logger.setEnabled(boolean value); is set as true.
Syntax
CopiedZohoSalesIQ.Logger.writeLogForiOS(log String, level String, Callback callback);
Example
CopiedZohoSalesIQ.Logger.writeLogForiOS(“Debug log”, ZohoSalesIQ.Logger.INFO, function(success){
},function(error){
}))
Log Level
CopiedZohoSalesIQ.Logger.INFO
ZohoSalesIQ.Logger.WARNING
ZohoSalesIQ.Logger.ERROR