debug_kit_dio 0.2.2 copy "debug_kit_dio: ^0.2.2" to clipboard
debug_kit_dio: ^0.2.2 copied to clipboard

Dio network logging adapter for DebugKit. Automatically logs requests, responses, and errors with sanitization.

Changelog #

0.2.2 #

  • chore: update repository and issue_tracker URLs to reflect repository rename (username/debug_kitusername/debugkit).

0.2.1 #

  • Fix: add TestWidgetsFlutterBinding.ensureInitialized() to the test suite so trace store event tests pass reliably when the Flutter scheduler binding is required.
  • Bump minimum debug_kit constraint to ^0.5.0 to align with the Error Digest release.
  • Update README install snippet to current versions.

0.2.0 #

  • Trace correlation: Dio requests made inside an active DebugKit.trace.run() zone now automatically carry traceId and traceName on the log entry.
  • Network trace events: A network trace event is recorded on the active trace for each request start, response, and error.
  • The trace ID is captured at request time from the Zone, so it is correctly associated even across async boundaries.
  • No behavior change when no trace is active — all existing logging behavior is preserved.

0.1.0 #

  • Initial release of the DebugKit Dio Adapter.
  • Log network requests, responses, and errors.
  • Automatic sanitization of URLs, query parameters, and headers.
  • Support for request IDs to track transaction lifecycles.
  • Duplicate attach protection, duration metadata, and improved cancelled request handling.
  • Zero overhead when DebugKit is disabled.
0
likes
130
points
110
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dio network logging adapter for DebugKit. Automatically logs requests, responses, and errors with sanitization.

Repository (GitHub)
View/report issues
Contributing

Topics

#logging #dio #networking #devtools #debug-kit

License

MIT (license)

Dependencies

debug_kit, dio, flutter

More

Packages that depend on debug_kit_dio