pretty_chopper_logger 1.0.10 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 #
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()
],
);