Logger.setEnabled()

This API lets you request your application debug logs from the visitor. You can choose to either enable or disable the request app log feature for your operators in the SalesIQ dashboard by setting the bool value.

Note: The logs are disabled by default. Ensure the bool value of ZohoSalesIQ.Logger.setEnabled(enable: Bool) is set as true for ZohoSalesIQ.Logger.write() API to function. 

Syntax

CopiedZohoSalesIQ.Logger.setEnabled(enabled: Bool)

Example

CopiedZohoSalesIQ.Logger.setEnabled(true)