simple_chopper_logger 1.1.0 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(),
],
);