dio_smart_logger 0.2.0 copy "dio_smart_logger: ^0.2.0" to clipboard
dio_smart_logger: ^0.2.0 copied to clipboard

Structured and secure Dio logging interceptor with cURL output, performance metrics, and deep error diagnostics.

example/main.dart

import 'package:dio/dio.dart';
import 'package:dio_smart_logger/dio_smart_logger.dart';

Future<void> main() async {
  final dio = Dio();

  dio.interceptors.add(
    DioLoggerInterceptor(
      config: const DioLoggerConfig(
        enabled: true,
        level: DioLogLevel.debug,
        showCurl: true,
      ),
    ),
  );

  print('Dio logger interceptor is attached and ready.');
}
1
likes
160
points
233
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Structured and secure Dio logging interceptor with cURL output, performance metrics, and deep error diagnostics.

Repository (GitHub)
View/report issues

Topics

#dio #logging #interceptor #debugging

License

MIT (license)

Dependencies

dio

More

Packages that depend on dio_smart_logger