network_logger
1.0.4, released 4 years ago by themisir.com
Network logger with user interface to inspect traffic logs and Dio interceptor.
What it does
Network logger with a well-designed user interface to inspect network traffic logs. It includes a Dio interceptor and an overlay button to easily view HTTP traffic on a GUI.
AI-written summary of version 1.0.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are using Dio for networking and need a visual way to inspect traffic logs.
- You want an easy overlay button to access network logs during development.
Skip it when
- You are not using Dio as your HTTP client.
- You do not need a visual UI for network inspection.
Strengths
- Includes a Dio interceptor for quick setup.
- Comes with a draggable overlay button and UI for inspecting logs.
- Supports copying body to clipboard and selectable fields.
Weaknesses
- Only includes a Dio interceptor currently.
- Not documented for non-Dio HTTP clients.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add the DioNetworkLogger interceptor to your Dio client and attach NetworkLoggerOverlay to your context in initState.
var dio = Dio();
dio.interceptors.add(DioNetworkLogger());
@override
void initState() {
NetworkLoggerOverlay.attachTo(context);
super.initState();
}Alternatives
Packages that do the same job and could replace network_logger.
- pretty_dio_logger
If you prefer console-based pretty logging for Dio requests instead of an in-app visual UI.
50Compare - talker
If you want a comprehensive logging and error handling solution with network inspection capabilities.
94Compare
Works with
Packages commonly used together with network_logger: ones it builds on, ones built on it, and its own family.