pretty_chopper_logger 1.0.10 copy "pretty_chopper_logger: ^1.0.10" to clipboard
pretty_chopper_logger: ^1.0.10 copied to clipboard

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

pretty_chopper_logger #

Pub

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

This package is inspired by pretty_dio_logger package.

Usage #

Simply add PrettyChopperLogger to your Chopper interceptors.

final ChopperClient chopper = ChopperClient(
    baseUrl: Uri.parse("http://www.mocky.io/"),
    interceptors: [PrettyChopperLogger()],
    services: [
      // Create and pass an instance of the generated service to the client
      SampleService.create()
    ],
  );

How it looks like #

Response Example

3
likes
140
pub points
88%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

chopper, flutter, http

More

Packages that depend on pretty_chopper_logger