client icon indicating copy to clipboard operation
client copied to clipboard

LogInterceptor

Open jaumard opened this issue 5 years ago • 5 comments

Would be nice to have by default a logInterceptor that we can add if you want.

We can put log level on it like BASIC / FULL.

BASIC will print: starting POST https://myurl result POST https://myurl status 201

FULL will print: starting POST https://myurl with data {all the data pretty printed json/form...} result POST https://myurl status 201 with data {all the data pretty printed json/form...}

it will help a lot during debug

jaumard avatar Sep 13 '18 15:09 jaumard