Logger.write()

This API lets you add custom additional information logs about your application to the SDK logs.

Note: For ZohoSalesIQ.Logger.write() API to function as intended, ensure that the ZohoSalesIQ.Logger.setEnabled(enable: Bool) is set as true.

SIQDebugLogLevel = .info/.error/.warning

Syntax:

CopiedZohoSalesIQ.Logger.write(log: String, logLevel: SIQDebugLogLevel, success: {_ in })

Example:

CopiedZohoSalesIQ.Logger.write("Debug Log", logLevel: .info, success: { success in
if success {
} else {
}
})