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

# Data Logging API

> This file contains Public APIs for Data logging Module.

**Header:** `spf/api/modules/data_logging_api.h`

## Structures

### `data_logging_config_t`

**Members**

<ParamField path="log_code" type="uint32_t">
  logging code for this module instance
</ParamField>

<ParamField path="log_tap_point_id" type="uint32_t">
  logging tap point of this module instance
</ParamField>

<ParamField path="mode" type="uint32_t">
  Mode to indicate whether to log immediately (1) or wait until log buffer is completely filled (0)
</ParamField>

### `data_logging_island_t`

**Members**

<ParamField path="forced_logging" type="uint32_t">
  }
</ParamField>

## Type Definitions

### `data_logging_config_t`

```cpp theme={null}
typedef struct data_logging_config_t data_logging_config_t
```

### `data_logging_island_t`

```cpp theme={null}
typedef struct data_logging_island_t data_logging_island_t
```

## Macros

### `DATA_LOGGING_MAX_INPUT_PORTS`

```c theme={null}
#define DATA_LOGGING_MAX_INPUT_PORTS 0x1
```

### `DATA_LOGGING_MAX_OUTPUT_PORTS`

```c theme={null}
#define DATA_LOGGING_MAX_OUTPUT_PORTS 0x1
```

### `DATA_LOGGING_STACK_SIZE_REQUIREMENT`

```c theme={null}
#define DATA_LOGGING_STACK_SIZE_REQUIREMENT 2048
```

### `PARAM_ID_DATA_LOGGING_CONFIG`

```c theme={null}
#define PARAM_ID_DATA_LOGGING_CONFIG 0x08001031
```

### `PARAM_ID_DATA_LOGGING_ISLAND_CFG`

```c theme={null}
#define PARAM_ID_DATA_LOGGING_ISLAND_CFG 0x08001313
```

### `MODULE_ID_DATA_LOGGING`

```c theme={null}
#define MODULE_ID_DATA_LOGGING 0x0700101A
```
