colored_dio_logger 0.0.1
colored_dio_logger: ^0.0.1 copied to clipboard
A Dio interceptor that logs network calls in a pretty, easy-to-read format with ANSI colors. colored_dio_logger enhances the original Pretty Dio Logger by adding colored console output for better read [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add colored_dio_logger
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
colored_dio_logger: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:colored_dio_logger/colored_dio_logger.dart';