Skip to main content

SetLogPath

AndroidiOSWindows
If you were looking for the method for use with Unity, see SetLogPath for Unity SDK.

Set the log path to upload the backend customer service log. The log path ends with .log. After setting the path, if any log file exists in the directory, the log files are automatically uploaded. This interface can only be called after receiving the asynchronous callback of InitCustomer.

Function definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void SetLogPath(const FString &log_path);

Input parameters

NameTypeDescription
log_pathFStringThe log file path

Observers

The callback processing API is CustomerResultObserver.
The callback data structure is CustomerResult.

The callback methodID is kMethodIDSetLogPath.

Code sample

FString logPath = TEXT("path/to/log");
UINTLSDKAPI::SetLogPath(logPath);