ihsanbal/LoggingInterceptor
An OkHttp interceptor which has pretty logger for request and response. +Mock support observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 68
- Release rhythm 36
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3479
- days_rel: 212
- days_push: 195
- n_releases_24m: 1
Adoption not part of the score
1359 stars · 122 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An OkHttp interceptor library that provides pretty, configurable logging of HTTP requests and responses, with support for custom log levels, headers, query params, and mock responses. This fork adds batching sinks to avoid Logcat line interleaving and truncation.
Use cases
- log okhttp requests and responses in an android app
- debug http traffic with pretty logcat output
- add custom headers and query params to logged requests
- mock http responses during development
- batch log output to avoid logcat truncation
When to choose
- you use OkHttp/Retrofit on Android or JVM and want readable HTTP logs
- you need mock response support alongside request logging
- you want a customizable log level and sink for HTTP traffic
When to avoid
- you don't use OkHttp as your HTTP client
- you need full network traffic capture beyond OkHttp (use a proxy like Charles or mitmproxy)
- you need production-grade structured logging pipelines rather than debug logging
Facets
library · maturity active
logging http-client mocking middleware developer-tools android-tools web-development testing jvm okhttp interceptor logcat http-debugging mock-responses android
1 source
- readme: https://github.com/ihsanbal/LoggingInterceptor · fetched 2026-08-28 · 5c10373a723d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ihsanbal/LoggingInterceptor | main | 63 |
For agents
markdown · JSON · MCP: product_card(name="ihsanbal/LoggingInterceptor")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem