1
0
Files
PayPal-PHP-Server-SDK/doc/request-logging-configuration-builder.md
2025-05-27 17:46:31 +00:00

17 lines
899 B
Markdown

# RequestLoggingConfigurationBuilder
Represents the logging configurations for API requests. Create instance using `RequestLoggingConfigurationBuilder::init()`
## Methods
| Name | Parameter Type | Description |
| --- | --- | --- |
| `includeQueryInPath` | `bool` | Toggles the inclusion of query parameters in the logged request path. **Default : `false`** |
| `body` | `bool` | Toggles the logging of the request body. **Default : `false`** |
| `headers` | `bool` | Toggles the logging of the request headers. **Default : `false`** |
| `includeHeaders` | `string[]` | Includes only specified request headers in the log output. **Default : `[]`** |
| `excludeHeaders` | `string[]` | Excludes specified request headers from the log output. **Default : `[]`** |
| `unmaskHeaders` | `string[]` | Logs specified request headers without masking, revealing their actual values. **Default : `[]`** |