1
0
Files
PayPal-PHP-Server-SDK/doc/response-logging-configuration-builder.md
Patrick Powers 6da8b9b5b8 1.1.0 Release (#44)
* Automated commit message

* add changelog

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
Co-authored-by: Patrick Powers <patickpowers@hey.com>
2025-05-27 13:31:17 -05:00

16 lines
774 B
Markdown

# ResponseLoggingConfigurationBuilder
Represents the logging configurations for API responses. Create instance using `ResponseLoggingConfigurationBuilder::init()`
## Methods
| Name | Parameter Type | Description |
| --- | --- | --- |
| `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 : `[]`** |