Skip to content

Commit

Permalink
Fixed typos in json logger
Browse files Browse the repository at this point in the history
  • Loading branch information
slischka committed Jan 13, 2024
1 parent 0702981 commit 3149c9a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ public function formatSuccessful(RequestInterface $request, ResponseInterface $r
'body' => $this->processBody((string) $request->getBody()),
],
'response' => [
'statusCode' => $response->getStatusCode(),
'status_code' => $response->getStatusCode(),
'headers' => $response->getHeaders(),
'body' => $this->processBody((string) $response->getBody()),
],
'elapsedTime' => $this->formatElapsedTime($elapsedTime),
'elapsed_time' => $this->formatElapsedTime($elapsedTime),
]);
}

Expand All @@ -62,7 +62,7 @@ public function formatFailed(RequestInterface $request, Throwable $exception, fl
'message' => $exception->getPrevious()->getMessage(),
] : null,
],
'elapsedTime' => $this->formatElapsedTime($elapsedTime),
'elapsed_time' => $this->formatElapsedTime($elapsedTime),
]);
}

Expand Down

0 comments on commit 3149c9a

Please sign in to comment.