> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFCloudScriptLogStatement

> PFCloudScriptLogStatement 資料模型。

PFCloudScriptLogStatement 資料模型。

## 語法

```cpp theme={null}
typedef struct PFCloudScriptLogStatement {  
    PFJsonObject data;  
    const char* level;  
    const char* message;  
} PFCloudScriptLogStatement;  
```

### 成員

**`data`**   [PFJsonObject](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfjsonobject)

（選擇性）隨附於訊息作為內容資訊的選擇性物件。

**`level`**   const char\*<br />*is null-terminated*

（選擇性）'Debug'、'Info' 或 'Error'。

**`message`**   const char\*<br />*is null-terminated*

（選擇性）Message 屬性。

## 需求

**標頭：** PFCloudScriptTypes.h

## 另請參閱

[PFCloudScriptTypes 成員](/zh-TW/services/playfab/api-references/c/pfcloudscripttypes/pfcloudscripttypes_members)


## Related topics

- [服務 C API 概觀 - PFCloudScriptTypes.h](/zh-TW/services/playfab/api-references/c/pfcloudscripttypes/pfcloudscripttypes_members.md)
- [PFCloudScriptExecuteCloudScriptResult](/zh-TW/services/playfab/api-references/c/pfcloudscripttypes/structs/pfcloudscriptexecutecloudscriptresult.md)
- [ExecuteCloudScriptResult](/zh-TW/services/playfab/api-references/events/data-types/executecloudscriptresult.md)
- [LogStatement](/zh-TW/services/playfab/api-references/events/data-types/logstatement.md)
- [執行 Cloud Script](/zh-TW/services/playfab/api-references/rest/client/server-side-cloud-script/execute-cloud-script.md)
