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