Simple Chopper Logger

Simple Chopper Logger is a Chopper interceptor that prints request and response logs in a readable format.

Usage

To use Simple Chopper Logger just add it to your Chopper client:

import 'package:simple_chopper_logger/simple_chopper_logger.dart';

final chopperClient = ChopperClient(
  baseUrl: 'YOUR_BASE_URL',
  services: [
    // Your services here
  ],
  interceptors: [
    SimpleChopperLogger(),
  ],
);

How it looks like

Request

Example Request

Response

Example Response

Libraries

simple_chopper_logger
Implementation of Request and Response Chopper interceptors that provides simple but pleasant to look at output.