flutter_loggy_dio 3.1.0 copy "flutter_loggy_dio: ^3.1.0" to clipboard
flutter_loggy_dio: ^3.1.0 copied to clipboard

Extension for loggy. Includes interactor and pretty printer for Dio.

example/flutter_loggy_dio_example.dart

import 'package:dio/dio.dart';
import 'package:flutter_loggy_dio/flutter_loggy_dio.dart';
import 'package:loggy/loggy.dart';

void main() async {
  Loggy.initLoggy(logPrinter: PrettyPrinter());
  final Dio dio = Dio();
  dio.interceptors.add(LoggyDioInterceptor());
  await dio.get('https://infinum.com');
}
10
likes
140
points
5.71k
downloads

Publisher

verified publisherinfinum.com

Weekly Downloads

Extension for loggy. Includes interactor and pretty printer for Dio.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, loggy

More

Packages that depend on flutter_loggy_dio