dio_smart_logger 0.1.0 copy "dio_smart_logger: ^0.1.0" to clipboard
dio_smart_logger: ^0.1.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
0
points
233
downloads

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

unknown (license)

Dependencies

dart_helper_utils, dio

More

Packages that depend on dio_smart_logger