Commit b916ed9
committed
minor symfony#58555 [HttpClient] Add
This PR was squashed before being merged into the 7.2 branch.
Discussion
----------
[HttpClient] Add `total_time` to the response log
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Issues |
| License | MIT
This pull request adds the response `total_time` to the info log.
- [x] Thoughts on the formatting? Usually in my app code I pass variables to the 2nd argument of `info()` to pass context instead of using sprintf, that way I can parse out variables the logs more easily.
Commits
-------
c8bfb79 [HttpClient] Add `total_time` to the response logtotal_time to the response log (jwage)File tree
1 file changed
+5
-1
lines changed- src/Symfony/Component/HttpClient/Response
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
235 | 239 | | |
236 | 240 | | |
237 | 241 | | |
| |||
0 commit comments