# boolean_smtp_debug_http_log_style

> Filters how outgoing HTTP exchanges are formatted in the `requests` log channel.

Filter · Tier C · Since 1.0.0



## Signature

```php
add_filter( 'boolean_smtp_debug_http_log_style', $callback, 10, 1 );
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `$style` | `string` | One of `exchange` (a fluent request/response transcript, the default), `array` (a raw `print_r()` dump), or `both`. |

**Returns** `string` — The filtered style.

## Fires in

- [app/Support/Debug/WordPressDebugLogger.php:964](https://github.com/booleanpress/boolean-smtp-src/blob/main/app/Support/Debug/WordPressDebugLogger.php#L964) — `BooleanSmtp\Support\Debug\WordPressDebugLogger::appendHttpBlockToRequestsLog()`

## Example

```php
add_filter( 'boolean_smtp_debug_http_log_style', function ( string $style ) {
    return $style;
}, 10, 1 );
```
