request_tracker_logger 1.1.0
request_tracker_logger: ^1.1.0 copied to clipboard
A comprehensive request tracking and exception logging library for Flutter applications, inspired by Spring Boot's MDC.
1.1.0 #
Added #
- True MDC Support: Track logs with arbitrary context keys using
extraContext. - Custom Logging Delegates: Redirect logs to services like Sentry or Firebase Crashlytics.
- Debugging Tools: Automatic Curl command generation for failed requests and Clean Stack Traces (filtering framework noise).
- Dio Extension: Easy setup using
dio.addRequestTracker(). - Advanced Controls: Support for
excludedEndpointsandmaxPayloadLengthtruncation. - Recursive Redaction: Deep-cleaning of sensitive fields in nested maps and lists.
Improved #
- Clean Logging: Automatic recursive deep-cleaning to remove null or empty fields from log maps.
- Performance: Optimized using
dart:developer'slogandStopwatchfor duration tracking. - Consistency: Shared cleaning utilities across the entire library.
- Global Toggles: Static
enabledflags for bothRequestLoggerandGlobalExceptionHandler.
1.0.1 #
- Fixed the ReadMe File.
- And updated The Version to 1.0.1.
1.0.0 #
- Initial release of
request_tracker_logger. - Added
RequestLoggerfor contextual logging using zones. - Added
RequestTrackingInterceptorfor Dio request tracking. - Added
GlobalExceptionHandlerfor centralized error handling.