Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

Releases: dkorobtsov/LoggingInterceptor

4.5 - Added option to modify max output width

15 Nov 01:20
4383f46

Choose a tag to compare

Changes:
Added option to modify max output line length.

Bug fixes:
Fixed randomly failing tests with manually added executor.

4.4.1 - Added support for ApacheHttpClient

14 Nov 13:26
bbcebe9

Choose a tag to compare

Changes:
Added support for ApacheHttpClient. Thanks to @azakordonets for PR.
Added html pretty printing.

Bug fixes:
Fixed issue when interceptor was returning formatted body instead of original server response.

4.1 - Added support for OkHttp 2.x versions.

26 Oct 13:17

Choose a tag to compare

Breaking change:
For OkHttp3 client use Okhttp3LoggingInterceptor (previously LoggingInterceptor).
For OkHttp2 client use OkhttpLoggingInterceptor.
Thanks to @azakordonets for PR.

Bug fixes:
Fixed ArithmeticException in logLines() class - in theory could be thrown in empty line were send to method.
Fixed response urls printing - now will be printed in single line, withour breaks (same behavior as in requests.)
Fixed Okhttp3LoggingInterceptor builder.

3.3 - XML pretty printing

04 Sep 17:45
58175cf

Choose a tag to compare

Changes:
XML body is now indented and looks nice.
Removed option to add custom headers and queries.