{"id":13549987,"url":"https://github.com/bmw-tech/lumberdash","last_synced_at":"2025-06-20T22:39:46.552Z","repository":{"id":34275837,"uuid":"174239844","full_name":"bmw-tech/lumberdash","owner":"bmw-tech","description":"Do you need logs? Lumberdash is the answer!","archived":false,"fork":false,"pushed_at":"2022-10-14T08:10:41.000Z","size":226,"stargazers_count":166,"open_issues_count":13,"forks_count":24,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-02T13:01:58.641Z","etag":null,"topics":["flutter","flutter-package"],"latest_commit_sha":null,"homepage":"https://pub.dartlang.org/packages/lumberdash","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bmw-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-03-07T00:03:30.000Z","updated_at":"2024-12-01T04:26:16.000Z","dependencies_parsed_at":"2022-08-08T00:15:22.934Z","dependency_job_id":null,"html_url":"https://github.com/bmw-tech/lumberdash","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmw-tech%2Flumberdash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmw-tech%2Flumberdash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmw-tech%2Flumberdash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmw-tech%2Flumberdash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmw-tech","download_url":"https://codeload.github.com/bmw-tech/lumberdash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054193,"owners_count":21039952,"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","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":["flutter","flutter-package"],"created_at":"2024-08-01T12:01:27.766Z","updated_at":"2025-04-09T14:15:00.056Z","avatar_url":"https://github.com/bmw-tech.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"# lumberdash\n\n[![Build Status](https://github.com/bmw-tech/lumberdash/actions/workflows/main.yml/badge.svg)](https://github.com/bmw-tech/lumberdash/actions)\n[![codecov](https://codecov.io/gh/bmw-tech/lumberdash/branch/master/graph/badge.svg)](https://codecov.io/gh/bmw-tech/lumberdash)\n[![Pub](https://img.shields.io/pub/v/lumberdash.svg)](https://pub.dartlang.org/packages/lumberdash)\n\n![lumberdash icon](https://github.com/bmw-tech/lumberdash/raw/master/art/lumberdash.png)\n\nDo you need logs? Lumberdash is the answer! With a simple but powerful logging API, Lumberdash is the easiest way to record logs.\nAnd if that is not enough, you can extend its API and create your own custom plugins for your own logging needs.\n\n## How it works\n\nSimply `putLumberdashToWork` with your preferred `LumberdashClient`, and start logging!\n\nYou can get the best of **Lumberdash** by using plugins! For example, by using the `colorize_lumberdash`, you could print logs in stdout with colors:\n\n```dart\nimport 'package:lumberdash/lumberdash.dart';\nimport 'package:colorize_lumberdash/colorize_lumberdash.dart';\n\nvoid main() {\n  putLumberdashToWork(withClients: [ColorizeLumberdash()]);\n  logWarning('Hello Warning');\n  logFatal('Hello Fatal!');\n  logMessage('Hello Message!');\n  logError(Exception('Hello Error'));\n}\n```\n\nYou could also use multiple clients to log to different sources:\n\n```dart\nimport 'package:lumberdash/lumberdash.dart';\nimport 'package:colorize_lumberdash/colorize_lumberdash.dart';\nimport 'package:firebase_lumberdash/firebase_lumberdash.dart';\n\nvoid main() {\n  putLumberdashToWork(withClients: [\n    ColorizeLumberdash(),\n    FirebaseLumberdash(\n      firebaseAnalyticsClient: FirebaseAnalytics(),\n      environment: 'development',\n      releaseVersion: '1.0.0',\n    ),\n  ]);\n  logWarning('Hello Warning');\n  logFatal('Hello Fatal!');\n  logMessage('Hello Message!');\n  logError(Exception('Hello Error'));\n}\n```\n\n## Plugins officially supported by BMW\n\n- [colorize_lumberdash](https://pub.dartlang.org/packages/colorize_lumberdash)\n- [firebase_lumberdash](https://pub.dartlang.org/packages/firebase_lumberdash)\n- [print_lumberdash](https://pub.dartlang.org/packages/print_lumberdash)\n- [sentry_lumberdash](https://pub.dartlang.org/packages/sentry_lumberdash)\n\n### How to create a Lumberdash plugin\n\nAdd `lumberdash` to your dependencies, and extend the `LumberdashClient`. That easy!\n\nYou can see the `SimpleClient` in this package as inspiration.\n\n## Maintainers\n\nThis project is maintained by BMW Group.\n\nThank you to the original authors\n\n- Jorge Coca (@jorgecoca)\n- Felix Angelov (@felangel)\n- Tim Chabot(@tchabot22)\n\nand all contributors.\n\n## License\n\n```\nMIT License\n\nCopyright (c) 2019 BMW Technology Corporation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmw-tech%2Flumberdash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmw-tech%2Flumberdash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmw-tech%2Flumberdash/lists"}