FLUTTER ECOSYSTEM

pretty_dio_logger

Pretty Dio logger is a Dio interceptor that logs network calls in a pretty, easy to read format.

Latest version
1.4.0
30-day downloads
296.3K
Likes
908
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

Pretty Dio Logger is a Flutter/Dart package that enhances network request debugging by providing a clean, readable log format for Dio HTTP client operations. It acts as an interceptor, capturing requests and responses with detailed information such as headers, status codes, and timing. Designed for developers, it simplifies troubleshooting API interactions during development. The logs are color-coded and structured for clarity across platforms. It integrates seamlessly with existing Dio setups and supports all major platforms including mobile, web, and desktop.

Use cases
  • Debugging API calls in development
  • Monitoring request/response flow
  • Improving visibility of network errors
  • Enhancing team collaboration through clear logs
  • Testing API integrations
Key features
  • Color-coded console output
  • Detailed request/response logging
  • Easy integration with Dio
  • Supports all Flutter platforms
  • Minimal configuration required
  • Timestamp and duration tracking
Suitable for
  • Flutter developers using Dio
  • Teams focused on debugging network issues
  • Apps requiring transparent API communication
  • Development and testing environments
  • Projects emphasizing developer experience
Considerations
  • Not recommended for production use
  • May increase log verbosity
  • Requires manual removal before release
  • Limited customization options
  • No built-in log filtering
  • Depends on Dio being used in the project
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add pretty_dio_logger

Categories

Source repository

Related projects

Rankings