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:
ServiceLogger.shared.level = .debug
In Objective-C:
[SCServiceLogger sharedLogger].level = SCSLoggerLevelDebug;
The log level is specified using the SCSLoggerLevel enumerated type. It can be one of these values:
SCSLoggerLevelDebug(.debugin Swift)SCSLoggerLevelInfo(.infoin Swift)SCSLoggerLevelError(.errorin Swift)—Default valueSCSLoggerLevelFault(.faultin Swift)SCSLoggerLevelOff(.offin Swift)
By default, logs go to the console output. You can have logs go to a file using the filehandle property.