{"id":32307866,"url":"https://github.com/flutterplugin/dio_log","last_synced_at":"2026-02-21T16:03:08.034Z","repository":{"id":35018662,"uuid":"193894871","full_name":"flutterplugin/dio_log","owner":"flutterplugin","description":"Dio网络请求库的log显示插件","archived":false,"fork":false,"pushed_at":"2025-06-05T07:21:52.000Z","size":10234,"stargazers_count":44,"open_issues_count":10,"forks_count":43,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-06-05T07:56:20.284Z","etag":null,"topics":["dio","flutter","http"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flutterplugin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-26T11:53:35.000Z","updated_at":"2025-06-05T07:21:55.000Z","dependencies_parsed_at":"2024-06-19T22:50:35.353Z","dependency_job_id":"73c3bd73-9a3b-4a00-ac71-a14d4139f322","html_url":"https://github.com/flutterplugin/dio_log","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/flutterplugin/dio_log","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutterplugin%2Fdio_log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutterplugin%2Fdio_log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutterplugin%2Fdio_log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutterplugin%2Fdio_log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flutterplugin","download_url":"https://codeload.github.com/flutterplugin/dio_log/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutterplugin%2Fdio_log/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29685050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T15:51:39.154Z","status":"ssl_error","status_checked_at":"2026-02-21T15:49:03.425Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dio","flutter","http"],"created_at":"2025-10-23T07:24:38.647Z","updated_at":"2026-02-21T16:03:08.027Z","avatar_url":"https://github.com/flutterplugin.png","language":"Dart","readme":"# dio_log\n[![pub package](https://img.shields.io/pub/v/dio_log.svg)](https://pub.dev/packages/dio_log)\n\n[English](./README.md) | [中文](./README_zh.md)\n\n## Description\nHTTP Inspector tool for Dart which can debugging http requests. Currently, DIO based HTTP capture is implemented.\nOf course, you can implement an Interceptor instead of a DiologInterceptor to adapt to other HTTP clients.\n## Installation\nAdd this to your package's `pubspec.yaml` file:\n```yaml\ndependencies:\n  dio_log: 5.3.0+1\n```\n\n## Usage\n1. Set interceptor of dio:\n```dart\ndio.interceptors.add(DioLogInterceptor());\n```\n\n2. Add a global hover button on your home page:\n```dart\n// Display overlay button\nshowDebugBtn(context, btnColor: Colors.blue);\n// Cancel overlay button\ndismissDebugBtn();\n// Check overlay button state\ndebugBtnIsShow()\n```\n\n3. Or open log list manually:\n```dart\nNavigator.of(context).push(\n  MaterialPageRoute(\n    builder: (context) =\u003e HttpLogListWidget(),\n  ),\n);\n```\n\n## Configuration\n```dart\n// Sets the maximum number of entries for logging\nLogPoolManager.getInstance().maxCount = 100;\n// Add custom error detection\nLogPoolManager.getInstance().isError = (res) =\u003e res.resOptions==null;\n// Disable Log Printing\nDioLogInterceptor.enablePrintLog = false;\n```\n\n## Screenshots\n\u003cimg src=\"https://raw.githubusercontent.com/flutterplugin/dio_log/develop/images/log_list.jpg\" width=\"200\"\u003e      \n\u003cimg src=\"https://raw.githubusercontent.com/flutterplugin/dio_log/develop/images/log_request.jpg\" width=\"200\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/flutterplugin/dio_log/develop/images/log_response.jpg\" width=\"200\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/flutterplugin/dio_log/develop/images/log_filter.jpg\" width=\"200\"\u003e\n\n## Demo\n![gif](https://raw.githubusercontent.com/flutterplugin/dio_log/develop/images/dio_log_example.gif)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutterplugin%2Fdio_log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflutterplugin%2Fdio_log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutterplugin%2Fdio_log/lists"}