Logs
SDK has an internal logging system to help with debugging and solving issues. SDK logs are stored in their files along with other files used by the SDK. To see more or less SkyPath logs in the app console you can change the logging level. By default, it is set to PrintLevel.error to see only critical logs. More verbose levels can be needed only to debug the issue, otherwise, it is fine to have just a default value.
SkyPath.shared.loggerLevel = .error
The SDK rolls out the logs files to keep only fresh ones and does not take a lot of disk size. This is handled internally by the SDK and is not configurable.
Logs help to identify the issue, so files can be exported and then sent to the SkyPath team. By the following API, you can get the logs file URL. You can for example upload it to your issues tracking system and then inform the SkyPath team.
SkyPath.shared.exportLogs { fileUrl, error in
// fileUrl of a file created in the temporary directory or an error if exporting failed
}