forked from LiveCarta/PayPal-PHP-Server-SDK
17 lines
899 B
Markdown
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 : `[]`** |
|
|
|