Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support max body length. #11

Open
Hanggi opened this issue Oct 24, 2020 · 10 comments
Open

Support max body length. #11

Hanggi opened this issue Oct 24, 2020 · 10 comments

Comments

@Hanggi
Copy link

Hanggi commented Oct 24, 2020

Some times the request body is too long to show.

@lalit3102
Copy link

yes please it slow down the rendering

@willnode
Copy link

Just used dio to download Image (in bytes Stream) and all the bytes show up.

@kczpl
Copy link

kczpl commented Apr 22, 2022

same as @willnode, I download pdf file using dio and my ResponseType is bytes. Pretty logger prints whole List of ints which is quite long.

@oleksii-pimenov
Copy link

same problem

@lucavenir
Copy link

Isn't this solved? As of now I do see maxWidth in the APIs.

@lalit3102
Copy link

its not about the maxWidth its the length of the response, if i receive list of json then it will print the whole list which took so much time

@lucavenir
Copy link

@lalit3102 Oh, ok, I didn't get this one at first. Thanks!

@Milad-Akarie
Copy link
Owner

you can omit byte array responses now

@willnode
Copy link

Thank you so much!

@OwlCodR
Copy link

OwlCodR commented Sep 9, 2024

  1. Update pretty_dio_logger version in your pubspec.yaml to 1.4.0 or higher
pretty_dio_logger: ^1.4.0
  1. Edit PrettyDioLogger
PrettyDioLogger(
  filter: (options, args) => !args.isResponse || !args.hasUint8ListData,
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants