LLensLogger / Docs
Documentation/ Network Visualizer

NETWORK VISUALIZER

Follow every request.

LensLogger collects configured Ktor and OkHttp traffic in one in-app Network view. Search the request list, inspect the request and response, and continue directly into mocking or cURL testing.

STEP 01

Connect a network client

Install a LensLogger integration on the client your app uses, then make a request. LensLogger supports its Ktor logger and the OkHttp application interceptor. Follow the matching setup guide:

When using the Compose inspector, open the Lens FAB and select the Network tab.

STEP 02

Search and scan requests

The Network list shows captured calls. Each row can show the response status, endpoint path, HTTP method, request and response sizes, elapsed time, and whether the result came from a mock.

Use Search by endpoint to filter on the request path. Use the overflow menu to clear the captured network logs.

LensLogger Network tab listing a successful POST request
Network request list with endpoint search and request metadata
LensLogger request history showing several mocked and successful calls
History can show repeated and mocked calls

STEP 03

Inspect request and response

Tap a request to open its detail view. Switch between Request and Response to review the captured data. The response view includes status, URL, expandable response headers, and body.

LensLogger response details showing status, URL, headers, and body
Response details for a captured call

REQUEST ACTIONS

Continue from a captured call

MOCK

Mock this request

Use the captured request and response as a starting point for a mock rule, then edit the response or simulate failure.

CURL

Copy cURL

Copy the selected request as a cURL command to share or reproduce it outside the app.

Mocked requests are marked with a MOCK badge in the Network view. The mocking guide explains how to configure and replay a rule.

TROUBLESHOOTING

If no calls appear

  • Install the Ktor or OkHttp integration on the same client that sends the request.
  • Make a request after the Lens inspector is available.
  • Check the Network tab search field and clear it if needed.
  • Confirm the selected app flow uses a supported configured client.