{"id":23937911,"url":"https://github.com/utpal-barman/trace-logger-flutter","last_synced_at":"2026-05-15T11:32:06.522Z","repository":{"id":262143019,"uuid":"886262868","full_name":"utpal-barman/trace-logger-flutter","owner":"utpal-barman","description":"🪵 A logger library with the stack trace class context. ✍️","archived":false,"fork":false,"pushed_at":"2025-08-11T08:41:50.000Z","size":432,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-11T10:31:18.854Z","etag":null,"topics":["dart-log","dart-logger","dart-package","flutter","flutter-log","flutter-logger","flutter-package","log","logger"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/trace_logger","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/utpal-barman.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":"2024-11-10T16:08:29.000Z","updated_at":"2025-08-11T08:41:53.000Z","dependencies_parsed_at":"2024-11-10T20:19:23.175Z","dependency_job_id":"aecb2f44-d96d-4ed5-aa9f-35da78439234","html_url":"https://github.com/utpal-barman/trace-logger-flutter","commit_stats":null,"previous_names":["utpal-barman/trace-logger-flutter"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/utpal-barman/trace-logger-flutter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utpal-barman%2Ftrace-logger-flutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utpal-barman%2Ftrace-logger-flutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utpal-barman%2Ftrace-logger-flutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utpal-barman%2Ftrace-logger-flutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/utpal-barman","download_url":"https://codeload.github.com/utpal-barman/trace-logger-flutter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utpal-barman%2Ftrace-logger-flutter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284868720,"owners_count":27076421,"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-11-17T02:00:06.431Z","response_time":55,"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-log","dart-logger","dart-package","flutter","flutter-log","flutter-logger","flutter-package","log","logger"],"created_at":"2025-01-06T02:15:32.085Z","updated_at":"2025-11-17T11:04:17.926Z","avatar_url":"https://github.com/utpal-barman.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🕵️ trace_logger: ^1.0.2\n\n## Lightweight Flutter/Dart Logger with Class Traceability using the power of StackTrace 🔍\n\n[![pub package](https://img.shields.io/pub/v/trace_logger.svg?logo=dart\u0026logoColor=00b9fc)](https://pub.dartlang.org/packages/trace_logger)\n[![Last Commits](https://img.shields.io/github/last-commit/utpal-barman/trace-logger-flutter?logo=git\u0026logoColor=white)](https://github.com/utpal-barman/trace-logger-flutter/commits/main)\n[![Pull Requests](https://img.shields.io/github/issues-pr/utpal-barman/trace-logger-flutter?logo=github\u0026logoColor=white)](https://github.com/utpal-barman/trace-logger-flutter/pulls)\n[![Code size](https://img.shields.io/github/languages/code-size/utpal-barman/trace-logger-flutter?logo=github\u0026logoColor=white)](https://github.com/utpal-barman/trace-logger-flutter)\n[![License](https://img.shields.io/github/license/utpal-barman/trace-logger-flutter?logo=open-source-initiative\u0026logoColor=green)](https://github.com/utpal-barman/trace-logger-flutter/blob/main/LICENSE)\n\n🔥 **TraceLogger** is a simple Flutter logging package that logs messages with class names and includes color-coded output for easier debugging and better readability. Use it to automatically capture the calling class context in your logs, along with level-specific emojis (🕵️ ℹ️ ⚠️ ❌) !\n\n## Resources 📚\n\n- [Documentation](https://pub.dev/documentation/trace_logger/latest/trace_logger/TraceLogger-class.html)\n- [Pub Package](https://pub.dev/packages/trace_logger)\n- [GitHub Repository](https://github.com/utpal-barman/trace-logger-flutter)\n\n## Installation 💻\n\n1. **Add** `trace_logger` to your `pubspec.yaml`:\n\n   ```yaml\n   dependencies:\n     trace_logger: ^1.0.2\n   ```\n\n2. **Install** the package:\n\n   ```sh\n   flutter packages get\n   ```\n\n## Usage\n\nTo use `TraceLogger`, import the package and create an instance of `TraceLogger`:\n\n```dart\nimport 'package:trace_logger/trace_logger.dart';\n\nfinal logger = TraceLogger();\n```\n\n### Logging with Class Traceability\n\n`TraceLogger` automatically captures the calling class name when logging messages. Here's an example:\n\n```dart\nclass HomeScreen {\n  void someMethod() {\n    logger.d('Debugging information');\n    logger.i('Informational message');\n    logger.w('Warning message');\n    logger.e('Error message');\n  }\n}\n```\n\nOutput:\n\n```txt\n🕵️ [HomeScreen] Debugging information\nℹ️ [HomeScreen] Informational message\n⚠️ [HomeScreen] Warning message\n❌ [HomeScreen] Error message\n```\n\n### Log Levels and Emojis\n\n| Level  | Emoji | Color   |\n|--------|-------|---------|\n| Debug  | 🕵️    | Cyan    |\n| Info   | ℹ️    | Green   |\n| Warning| ⚠️    | Yellow  |\n| Error  | ❌    | Red     |\n\nEach log level is represented by an emoji and a color for quick identification.\n\n## API Reference\n\n- **`logger.d(message)`** - Logs a debug message.\n- **`logger.i(message)`** - Logs an informational message.\n- **`logger.w(message)`** - Logs a warning message.\n- **`logger.e(message)`** - Logs an error message.\n\n## License 📝\n\nThis project is licensed under the BSD 3-Clause License - see the [LICENSE](https://github.com/utpal-barman/trace-logger-flutter/blob/main/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futpal-barman%2Ftrace-logger-flutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futpal-barman%2Ftrace-logger-flutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futpal-barman%2Ftrace-logger-flutter/lists"}