Set log upload path (SetLogPath)
Set the log path for uploading backend customer service logs.The log path must end with .log.After setting the path, if any log files exist in the directory, the log files will be uploaded automatically.This interface can only be called after receiving the asynchronous callback of InitCustomer.
Function Definition
public static void SetLogPath(string logPath);
Parameter Instructions
| Name | Type | Explanation |
|---|---|---|
| logPath | String | Log file path |
Observers
The callback interface is CustomerResultObserver.
The callback data structure is CustomerResult.
Callback ID is INTL_CUSTOMER_SET_LOG_PATH.
Code example
var logPath = "path/to/log";
INTLAPI.SetLogPath(logPath);