flutter_pretty_dio_logger

Last updated:

0 purchases

flutter_pretty_dio_logger Image
flutter_pretty_dio_logger Images
Add to Cart

Description:

flutter pretty dio logger

flutter_pretty_dio_logger #
Show the correct json format, cUrl, easy to copy and use for many purposes.
Usage #
import 'package:flutter_pretty_dio_logger/flutter_pretty_dio_logger.dart';
copied to clipboard
Dio dio = Dio();
dio.interceptors.add(
PrettyDioLogger(
requestHeader: true,
queryParameters: true,
requestBody: true,
responseHeader: true,
responseBody: true,
error: true,
showProcessingTime: true,
showCUrl: true,
// canShowLog: kDebugMode,
),
);
copied to clipboard
How it looks like #



This package is inspired by pretty_dio_logger and curl_logger_dio_interceptor packages.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.