forked from LiveCarta/PayPal-PHP-Server-SDK
* Automated commit message * add changelog --------- Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com> Co-authored-by: Patrick Powers <patickpowers@hey.com>
16 lines
774 B
Markdown
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 : `[]`** |
|
|
|