logger_interceptor

A simple Dart package providing an HTTP logging interceptor for debugging and monitoring network requests and responses. Useful for developers who want to log HTTP traffic in their Dart or Flutter applications.

Features

  • Logs HTTP requests and responses.
  • Configurable log levels (request, response, error).
  • Easy integration with http package or custom clients.
  • Supports pretty-printing of JSON bodies.

Getting started

Add logger_interceptor to your pubspec.yaml dependencies:

dependencies:
  logger_interceptor: ^0.0.5