request_tracker_logger 1.1.0 copy "request_tracker_logger: ^1.1.0" to clipboard
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 excludedEndpoints and maxPayloadLength truncation.
  • 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's log and Stopwatch for duration tracking.
  • Consistency: Shared cleaning utilities across the entire library.
  • Global Toggles: Static enabled flags for both RequestLogger and GlobalExceptionHandler.

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 RequestLogger for contextual logging using zones.
  • Added RequestTrackingInterceptor for Dio request tracking.
  • Added GlobalExceptionHandler for centralized error handling.
1
likes
160
points
170
downloads

Publisher

verified publisherdivyanshdev.tech

Weekly Downloads

A comprehensive request tracking and exception logging library for Flutter applications, inspired by Spring Boot's MDC.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, uuid

More

Packages that depend on request_tracker_logger