net_logger 1.0.3
net_logger: ^1.0.3 copied to clipboard
A local API request logger client package for Flutter/Dart applications.
1.0.3 #
- Made
serverUrlparameter optional inNetLoggerInterceptorconstructor. - Added platform-specific default value for
serverUrl(http://10.0.2.2:8080on Android,http://localhost:8080elsewhere).
1.0.2 #
- Formatted and printed request body for multipart form data in the debug console logs.
- Added query parameters to debug console logs.
- Supported
enableConsoleLogsoption inNetLoggerHttpClient.
1.0.1 #
- Added optional
timeoutconfiguration and automatic timeout error detection in bothNetLoggerInterceptorandNetLoggerHttpClient. - Added
enableConsoleLogsparameter to print request, response, error, and timeout details directly to the debug console.
1.0.0 #
- Initial release of
net_logger. - Added
NetLoggerInterceptorforDioto automatically capture, intercept, and stream API requests/responses. - Added
NetLoggerHttpClientfor packagehttpto log requests made using standard Dart HTTP clients. - Added standard serialization and JSON data structures (
NetLogModel) to ensure structured telemetry payload delivery. - Gracefully catch connection issues and timeout errors during logging to prevent client app crashes.