Milad-Akarie / pretty_dio_logger

MIT License
220 stars 49 forks source link

Allow for redacting the request and response without modifying either in the dio chain #33

Closed StummeJ closed 1 year ago

StummeJ commented 1 year ago

This came out of a need to redact sensitive information such as auth tokens from being logged. It updates the readme showing how to use, if desired.

StummeJ commented 1 year ago

@Milad-Akarie would you be able to review this PR and recommend any changes?

Cheers!

StummeJ commented 1 year ago

Looking more into the flutter code, the log method is a noop function in release mode. This shouldn't be needed with that knowledge.