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

VS Code

Response Example

GitHub

View Github