Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: log http response body in debug mode (#95)
* feat: log http response body when log_level equals debug * refactor: reset input stream after logging response * refactor: fix prom sink tests by mocking response body * refactor: print response body via toString method * feat: log http response body if debug is enabled * refactor: remove serializableHttpResponse class Co-authored-by: mayur.gubrele <2310-mayur.gubrele@users.noreply.source.golabs.io>
- Loading branch information
1 parent
f06e5d8
commit 1918215
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters