0 purchases
dio network logger
Dio Network Logger #
Simple dio network logger to inspect http request, this package was modified from current dio logger package . Added some utilities to make logging more easy.
🌌 Previews #
Home
History
Request
Response
🔎 Features #
Search log
Readable json with JsonViewer
Share log through clipboard
🚀 Getting Started #
Install dio_network_logger with this command flutter pub add dio_network_logger
Add DioNetworkLogger interceptor to the Dio client dio.interceptors.add(DioNetworkLogger());
final String url = 'https://jsonplaceholder.typicode.com';
final Dio dio = BaseOptions(baseUrl: url);
dio.interceptors.add(DioNetworkLogger());
copied to clipboard
Attach network logger overlay button to UI.
@override
void initState() {
super.initState();
NetworkLoggerOverlay.attachTo(context);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.