Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | protected function logResponse(string $level, string $message, Response $response, array $additionalContext = []): void |
||
32 | { |
||
33 | $this->client->logger($level, $message, array_merge([ |
||
34 | 'url' => $response->getRequestedUrl(), |
||
35 | 'status' => $response->getHttpResponseCode(), |
||
36 | 'headers' => $response->getHeaders(), |
||
37 | 'body' => $response->getBody(), |
||
38 | ], $additionalContext)); |
||
39 | } |
||
41 |