# Upload Log

In order to improve the efficiency of customer service and help the application fix unnecessary bugs, we provide you with the function of uploading logs.

After integrating this function, AIHelp will upload logs generated by the application when customer complaints are submitted or special forms are filled, which you may better locate users' issues with.

The saved log can be downloaded from the equipment information on the customer complaint page.


# setUploadLogPath

You need to call this method to specify the absolute location of the log.

[AIHelpSupportSDK setUploadLogPath:@"absolute/path/to/your/logFile.log"];


AIHelp currently only supports uploading a single log file, with file types limited to .log, .bytes, .txt, or .zip.

# Definition

# logPath

  • Type: NSString
  • Details: Required. Specify the log file path, and AIHelp will automatically upload the log file under this path when the customer complaint is submitted or the specific form is filled.

# Code Example

[AIHelpSupportSDK setUploadLogPath:@"absolute/path/to/your/logFile.log"];

# Others

Please refer to this guide (opens new window) to set up AIHelp dashboard configuration for this feature.

  • Logs downloading
Last Updated: 8/15/2023, 4:14:58 AM