{"id":27906080,"url":"https://github.com/kamchur/flutter_logcat","last_synced_at":"2026-01-11T04:49:35.318Z","repository":{"id":234042913,"uuid":"788210799","full_name":"kamchur/flutter_logcat","owner":"kamchur","description":"Flutter (console)Logcat Filter","archived":false,"fork":false,"pushed_at":"2025-01-08T06:14:13.000Z","size":381,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T08:32:34.051Z","etag":null,"topics":["dart","flutter","logcat"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/flutter_logcat","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kamchur.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,"zenodo":null}},"created_at":"2024-04-18T01:32:36.000Z","updated_at":"2025-10-02T12:45:30.000Z","dependencies_parsed_at":"2024-06-14T07:26:58.090Z","dependency_job_id":"5a06b102-d01b-4ff0-98df-d7e0995df3fb","html_url":"https://github.com/kamchur/flutter_logcat","commit_stats":null,"previous_names":["b3lon9/flutter_logcat","lagerstroemia-indica/flutter_logcat","hamhoney/flutter_logcat","kamchur/flutter_logcat"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/kamchur/flutter_logcat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamchur%2Fflutter_logcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamchur%2Fflutter_logcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamchur%2Fflutter_logcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamchur%2Fflutter_logcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kamchur","download_url":"https://codeload.github.com/kamchur/flutter_logcat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kamchur%2Fflutter_logcat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010792,"owners_count":26084807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dart","flutter","logcat"],"created_at":"2025-05-06T01:01:36.282Z","updated_at":"2025-10-12T08:32:36.893Z","avatar_url":"https://github.com/kamchur.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"![flutter_logcat_transparent](https://github.com/b3lon9/flutter_logcat/assets/119420119/0493edfd-c9e2-4bb3-b7fd-706d7ecd4977)\n\n\u003chr/\u003e\n\n[![Pub Version](https://img.shields.io/pub/v/flutter_logcat?color=blue)](https://pub.dev/packages/flutter_logcat)\n\n\u003ch3\u003eIn Flutter, logs are displayed in the console without any distinguishing colors. \u003cbr/\u003e\nHowever, by using this package, you can view messages in the console with colors that you define. \u003cbr/\u003e\nAdditionally, you can configure it so that logs are hidden in debug mode, and you can also set it to display tags, file paths, and timestamps.\u003c/h3\u003e\n\n\n\u003cbr/\u003e\n\n## 📸 Demo\n\nIn Console\n\n### iOS \u0026 Others\n\u003e \u003cimg src=\"https://github.com/user-attachments/assets/cd07c6ff-5220-4d1b-81bc-2b33dddb6637\" alt=\"image\" width=\"500\"\u003e\n\n### Android\n\u003e \u003cimg src=\"https://github.com/b3lon9/flutter_logcat/assets/119420119/d5310fff-c4f2-4d9f-b37a-fcb283b814aa\" alt=\"image\" width=\"500\"\u003e\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n## 📌 Features\n- [Usage](#-usage)\n- [Configure](#-set-log-configure)\n- [Stream](#-stream-logcat-messages)\n- [History](#-history-logcat-prints)\n\n\u003cbr/\u003e\n\n## 🌱 Getting Started\n\n[Install Package](https://pub.dev/packages/flutter_logcat/install/)\n\n`flutter_logcat` need only three parameters there are `message`, `tag`, `path`, `time`, `history`.  \u003cbr/\u003e\n- `message` : If yon want input message to watch on console.  \u003cbr/\u003e\n- `tag`: Custom own your's tag name.  \u003cbr/\u003e\n- `path`: You can watch file preference path. (default: false) \u003cbr/\u003e\n- `time`: You can watch current time. (default: false) \u003cbr/\u003e\n- `history`: You can call log history all prints. \u003cbr/\u003e\n\n\u003cbr/\u003e\n\n## 💌 Console Print \n\u003ch3\u003eParameters\u003c/h3\u003e\n\n| parameter            | required                | type               |  default    | output                                                        |\n| ---------------------| ------------------------|--------------------|-------------|---------------------------------------------------------------|\n| message              | :heavy_check_mark:      | String             |             |  `[className:lineNumber] message`                             |\n| tag                  | :x:                     | String             |             |  `(tag) [className:lineNumber] message`                       |\n| path                 | :x:                     | bool               |  false      |  `[className(packageName/className.dart):lineNumber] message` |\n| time                 | :x:                     | bool               |  false      |  `2024-09-25T00:00:000.000000:[className:linenumber] message` |\n\n\u003cbr/\u003e\n\n## 🚀 Usage\n\n- ### Show only 'message' \u003cbr/\u003e\n**`Log.v([String]);`**\n```dart\nLog.v(\"message\");\nLog.i(\"message\");\nLog.d(\"message\");\nLog.w(\"message\");\nLog.e(\"message\");\n```\n#### iOS \u0026 Others\n\u003e \u003cimg src=\"https://github.com/user-attachments/assets/89d2b215-30d3-4c98-86f3-ddd5fc0cf103\" alt=\"image\" width=\"300\"\u003e\n\n#### Android\n\u003e \u003cimg src=\"https://github.com/b3lon9/flutter_logcat/assets/119420119/e2900c8a-c947-4d59-a575-631d5a387565\" alt=\"image\" width=\"300\"\u003e\n\n\u003cbr/\u003e\n\n- ### Show 'message' \u0026 'path'\n**`Log.v([String], path: [Boolean])`**\n```dart\nLog.v(\"message\", path: true);\nLog.i(\"message\", path: true);\nLog.d(\"message\", path: true);\nLog.w(\"message\", path: true);\nLog.e(\"message\", path: true);\n```\n\n#### iOS \u0026 Others\n\u003e \u003cimg src=\"https://github.com/user-attachments/assets/9a464118-e80d-4f6f-b6eb-d9e4ec2975bb\" alt=\"image\" width=\"420\"\u003e\n\n#### Android\n\u003e \u003cimg src=\"https://github.com/b3lon9/flutter_logcat/assets/119420119/a90df6ba-bb6a-45da-bc62-c351ea45f1e3\" alt=\"image\" width=\"420\"\u003e\n\n\n\u003cbr/\u003e\n\n- ### Show 'message' \u0026 'tag'\n**`Log.v([String], tag: [String])`**\n```dart\nLog.v(\"message\", tag: \"FlutterLogcat\");\nLog.i(\"message\", tag: \"FlutterLogcat\");\nLog.d(\"message\", tag: \"FlutterLogcat\");\nLog.w(\"message\", tag: \"FlutterLogcat\");\nLog.e(\"message\", tag: \"FlutterLogcat\");\n```\n\n#### iOS \u0026 Others\n\u003e \u003cimg src=\"https://github.com/user-attachments/assets/a93bf3d4-6faf-41d8-ba6b-d7c8c40f1615\" alt=\"image\" width=\"420\"\u003e\n\n#### Android\n\u003e \u003cimg src=\"https://github.com/b3lon9/flutter_logcat/assets/119420119/691effe8-f208-4d49-a500-80e8e8d206b5\" alt=\"image\" width=\"420\"\u003e\n\n\n\u003cbr/\u003e\n\n\n- ### Show 'message' \u0026 'time'\n**`Log.v([String], time: [String])`**\n```dart\nLog.v(\"message\", time: true);\nLog.i(\"message\", time: true);\nLog.d(\"message\", time: true);\nLog.w(\"message\", time: true);\nLog.e(\"message\", time: true);\n```\n#### iOS \u0026 Others\n\u003e \u003cimg src=\"https://github.com/user-attachments/assets/8e4c1c09-ced3-4bae-9d05-d76098932584\" alt=\"image\" width=\"460\"\u003e\n\n#### Android\n\u003e \u003cimg src=\"https://github.com/user-attachments/assets/03a06561-3c20-467d-98fc-139f2b850e5f\" alt=\"image\" width=\"460\"\u003e\n\n\u003cbr/\u003e\n\n## 🧭 Set Log Configure\n\n\u003ch4\u003eIt's okay if you don't declare this function. \u003cbr/\u003e\nYou only need to use it when an overall setup is required.\u003c/h4\u003e\n\n\u003e - visible \u003cbr/\u003e\n\u003e - tag \u003cbr/\u003e\n\u003e - time \u003cbr/\u003e\n\n\n- #### Control Visible👀 to Log.\n**`Log.configure(visible: [Boolean])`**\n```dart\nimport 'package:flutter/foundation.dart';\n\nLog.configure(visible: kDebugMode);\n```\n- #### If you want setting default `tag` \n**`Log.configure(visible: [Boolean], tag: [String])`**\n```dart\nLog.configure(visible: kDebugMode, tag: \"FlutterLogcat\");\n\nLog.v(...);\nLog.i(...);\n...\n```\n\u003e ![image](https://github.com/b3lon9/flutter_logcat/assets/119420119/db63624a-1cb5-4fa7-b144-73d2fb888c94)\n\n- #### If you want to see time this\n**`Log.configure(visible: [Boolean], time: [Boolean])`**\n```dart\nLog.configure(visible: true, time: true);\n```\n\u003e \u003cimg width=\"402\" alt=\"image\" src=\"https://github.com/b3lon9/flutter_logcat/assets/119420119/f4318b22-4d31-489d-908a-c669eb6d6374\"\u003e\n\n\n\u003cbr/\u003e\n\n\n## 📎 Service, Background Functions\n```dart\nLog.s(\"message from service\");\nLog.x(\"message from background\");\n```\n#### iOS \u0026 Others\n\u003e \u003cimg src=\"https://github.com/user-attachments/assets/db7cbbb5-bfbe-4886-8ebb-c3f9dc0cf363\" alt=\"image\" width=\"400\"\u003e\n\n#### Android\n\u003e \u003cimg src=\"https://github.com/user-attachments/assets/c9217399-af5e-42a4-bda1-1e7047df5690\" alt=\"image\" width=\"400\"\u003e\n\n\u003cbr/\u003e\n\n## 🌀 Stream Logcat messages\n```dart\nfinal subscription = Log.stream.listen(\n  (message) =\u003e print('message:$message'),   // Save Log Record.\n);\n```\n\n#### Stop Stream\n```dart\nLog.stopStream();   // or `dispose()` function.\n```\n\n\u003cbr/\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamchur%2Fflutter_logcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkamchur%2Fflutter_logcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkamchur%2Fflutter_logcat/lists"}