Describe the bug
RequestBody.toString() doesn't provide any usable information
To Reproduce
Steps to reproduce the behavior:
- Create an Interceptor
- Override the onRequest method
- Try to log the RequestBody
Expected behavior
Something... usable.
Environmental Data:
- Java Version: Adopt OpenJDK 11.0.8.10
- Version: 3.11.02
Additional context
The problem is that it's almost impossible to disect the object. It potentially has things like Multi/Uniparts, or some basic fields.
That's exactly the type of body I want to log. Is there any example on how to log the fields set by the .field() function?
Describe the bug
RequestBody.toString() doesn't provide any usable information
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Something... usable.
Environmental Data:
Additional context
The problem is that it's almost impossible to disect the object. It potentially has things like Multi/Uniparts, or some basic fields.
That's exactly the type of body I want to log. Is there any example on how to log the fields set by the .field() function?