Debugging

Debugging

You can use the Support SDK's built-in logging to debug issues with your integration.

Add the following code to your app delegate file, before you initialize the Support SDK.

Swift

CoreLogger.enabled = trueCoreLogger.logLevel = .debug

Objective-C

[ZDKClassicCoreLogger setEnabled:YES];[ZDKClassicCoreLogger setLogLevel:ZDKClassicLogLevelDebug];

When that's in place, recreate the issue and check the console log for errors. This is usually easy enough to troubleshoot most integration issues. Verbose logging can be enabled to provide further information if you encounter unexpected behaviour.