pretty_diox_logger 1.3.4 copy "pretty_diox_logger: ^1.3.4" to clipboard
pretty_diox_logger: ^1.3.4 copied to clipboard

Pretty Diox logger is a Diox interceptor that logs network calls in a pretty, easy to read format.

pretty_diox_logger #

Pub

Pretty Dio logger is a Dio interceptor that logs network calls in a pretty, easy to read format.

Forked from pretty_dio_logger to support Dio V5

Usage #

Simply add PrettyDioLogger to your dio interceptors.

Dio dio = Dio();
dio.interceptors.add(PrettyDioLogger());
// customization
   dio.interceptors.add(PrettyDioLogger(
        requestHeader: true,
        requestBody: true,
        responseBody: true,
        responseHeader: false,
        error: true,
        compact: true,
        maxWidth: 90));

How it looks like #

VS Code #

Request Example Error Example

Android studio #

Response Example

1
likes
140
pub points
19%
popularity

Publisher

unverified uploader

Pretty Diox logger is a Diox interceptor that logs network calls in a pretty, easy to read format.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio

More

Packages that depend on pretty_diox_logger