pretty_dio_clean_logger 1.0.2 copy "pretty_dio_clean_logger: ^1.0.2" to clipboard
pretty_dio_clean_logger: ^1.0.2 copied to clipboard

A clean and customizable Dio logger that prints beautifully formatted request, response, and error logs with filtering support.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project follows Semantic Versioning.

1.0.2 - 2026-04-23 #

Changed #

  • Updated the logger to support different default output strategies in debug and release modes
  • Debug mode now buffers logs and flushes them through dart:developer
  • Release mode now prints logs directly with debugPrint
  • Added enableLogOnRelease to control whether logs appear in release builds
  • Added internal _shouldLog guard to combine enabled and release-mode checks
  • Clarified support for custom logPrint behavior across all build modes

Documentation #

  • Rewrote the README to document release logging behavior
  • Added configuration details for enableLogOnRelease
  • Added examples for default usage, filtering, and custom log printers

1.0.1 #

Fixed #

  • Improved README to comply with pub.dev ASCII requirements
  • Added proper LICENSE file for OSI approval recognition
  • Updated pubspec.yaml with license field
  • Moved test-only dependencies to dev_dependencies

1.0.0 - 2026-04-04 #

Added #

  • Pretty formatted logging for Dio requests and responses
  • Structured and readable log output with boxed layout
  • Request logging with method and URL
  • Request headers logging
  • Request body logging for Map, List, and FormData
  • Response logging with status code and response time
  • Response headers logging
  • Pretty JSON formatting for Map and List
  • Error logging with detailed information
  • Support for DioException
  • Support for Uint8List logging
  • Custom log printer support
  • Configurable logging options
  • Filter system to control which logs should be printed
  • Compact mode for inline JSON printing
  • Chunked printing for large responses
  • Built as a Dio interceptor
5
likes
150
points
218
downloads

Documentation

API reference

Publisher

verified publisherraihansikdar.com

Weekly Downloads

A clean and customizable Dio logger that prints beautifully formatted request, response, and error logs with filtering support.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

dio, flutter

More

Packages that depend on pretty_dio_clean_logger