Release Notes
Enable Debug Logging for the iOS SDK
Can't Connect to Chat
Agent Availability Check Always Fails
My App Crashes
My App Was Rejected
Data Protection and Security
Additional Resources
PDF Version
To configure the Service Chat SDK logs, set the level property on the ServiceLogger shared instance.
Use the shared singleton on ServiceLogger to adjust the level.
In Swift:
1ServiceLogger.shared.level = .debugIn Objective-C:
1[SCServiceLogger sharedLogger].level = SCSLoggerLevelDebug;The log level is specified using the SCSLoggerLevel enumerated type. It can be one of these values:
SCSLoggerLevelDebug (.debug in Swift)SCSLoggerLevelInfo (.info in Swift)SCSLoggerLevelError (.error in Swift)—Default valueSCSLoggerLevelFault (.fault in Swift)SCSLoggerLevelOff (.off in Swift)By default, logs go to the console output. You can have logs go to a file using the filehandle property.