v1.0.4network_logger
Registrador de rede com interface do usuário bem projetada para inspecionar logs de tráfego de rede. Inclui interceptor do Dio.
Registrador de rede com interface do usuário bem projetada para inspecionar logs de tráfego de rede. Inclui interceptor do Dio.
>=4.0.0 <6.0.0{"sdk":"flutter"}{"sdk":"flutter"}Texto original em inglês. Visite o GitHub para a versão atual.
Network logger with well designed user interface to inspect network traffic logs. Included with Dio interceptor. You can start and inspect traffic just by writing 2 lines of code.
| Log feed | Log details |
|---|---|
| https://raw.githubusercontent.com/TheMisir/flutter-network-logger/master/screenshots/1.jpg | https://raw.githubusercontent.com/TheMisir/flutter-network-logger/master/screenshots/2.jpg |
You are 3 steps ahead from viewing http traffic logs on well designed GUI.
Check this guide to install network_logger to your flutter project.
DioNetworkLogger interceptor to dio client.network_logger comes with Dio interceptor which will intercept traffic from Dio client. Other package implementations coming soon.
var dio = Dio();
dio.interceptors.add(DioNetworkLogger());
The easiest way to access Network Logger UI is using NetworkLoggerOverlay which will display floating action button over all screens. You can also implement custom scenarios to open UI with different actions.
@override
void initState() {
NetworkLoggerOverlay.attachTo(context);
super.initState();
}