simple_chopper_logger 1.1.0 copy "simple_chopper_logger: ^1.1.0" to clipboard
simple_chopper_logger: ^1.1.0 copied to clipboard

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

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

19
likes
150
pub points
68%
popularity

Publisher

verified publisheriteo.com

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

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

chopper

More

Packages that depend on simple_chopper_logger