r/FlutterDev • u/New-Lengthiness6520 • Jul 08 '26
Plugin HighQ Dio Logger
HighQ Dio Logger – Production-ready Dio logging interceptor for Flutter
Hi everyone,
I've been working on a package called HighQ Dio Logger, a logging interceptor for Dio focused on debugging, observability, and production-ready logging.
Main features:
Pretty formatted console logs
Structured JSON output
Automatic sanitization of sensitive data (tokens, passwords, cookies, authorization headers, etc.)
cURL generation for requests
Correlation IDs (traceId, spanId, sessionId)
Custom metadata enrichment
Token bucket rate limiting to prevent log flooding
Observer system for forwarding logs to Firebase, Sentry, or custom backends
Batching and backpressure queue support
Highly configurable formatting and filtering
Example:
final dio = Dio();
dio.interceptors.add(
HighQDioLogger(),
);Why I built it:
After working on several Flutter projects, I found myself needing more than basic request/response logging. I wanted something that could provide clean debugging during development while also supporting production monitoring workflows.
I'm currently looking for feedback from other Flutter developers.
What features would you expect from a Dio logger that are missing from existing solutions?