{"id":19366239,"url":"https://github.com/afritzler/streetlogr","last_synced_at":"2026-01-24T12:36:51.395Z","repository":{"id":199509183,"uuid":"702999886","full_name":"afritzler/streetlogr","owner":"afritzler","description":"Urban-themed logging for Go, built around the logr interface","archived":false,"fork":false,"pushed_at":"2024-10-23T15:32:00.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T14:41:33.087Z","etag":null,"topics":["golang","logging","logging-library","logr"],"latest_commit_sha":null,"homepage":"","language":"Go","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/afritzler.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2023-10-10T12:08:46.000Z","updated_at":"2024-10-23T15:32:03.000Z","dependencies_parsed_at":"2023-12-30T18:22:31.631Z","dependency_job_id":"82a25fdd-dbc2-4c8b-81aa-60d48cecd097","html_url":"https://github.com/afritzler/streetlogr","commit_stats":null,"previous_names":["afritzler/streetlogr"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/afritzler/streetlogr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afritzler%2Fstreetlogr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afritzler%2Fstreetlogr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afritzler%2Fstreetlogr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afritzler%2Fstreetlogr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afritzler","download_url":"https://codeload.github.com/afritzler/streetlogr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afritzler%2Fstreetlogr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28727872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: 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":["golang","logging","logging-library","logr"],"created_at":"2024-11-10T07:43:40.451Z","updated_at":"2026-01-24T12:36:51.380Z","avatar_url":"https://github.com/afritzler.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StreetLogr\n\nStreetLogr is a slick, urban-themed logging interface built around Go's `logr` interface.\n\n## 🚀 Features\n\n- **🗣️ Word**: Drop informational messages in style.\n- **👀 Sus**: Log errors when things look suspicious.\n- **🔍 Peep**: Adjust verbosity levels to peep more details.\n- **🌟 Swag**: Add some swag to your logs with key-value pairs.\n- **🏷️ Handle**: Tag your logger with a unique name.\n\n## 🛠 Installation\n\nInstall StreetLogr using `go get`:\n\n```sh\ngo get github.com/afritzler/streetlogr\n```\n\n## Usage\n\nHere's a quick start guide to using StreetLogr:\n\n```go\npackage main\n\nimport (\n\t\"errors\"\n\t\"github.com/go-logr/zapr\"\n\t\"go.uber.org/zap\"\n\t\"github.com/afritzler/streetlogr\"\n)\n\nfunc main() {\n\t// Instantiate a zap logger\n\tzapLogger, _ := zap.NewDevelopment()\n\n\t// Wrap it with zapr to get a logr.Logger\n\tlogrLogger := zapr.NewLogger(zapLogger)\n\n\t// Instantiate StreetLogr\n\tlogger := streetlogr.StreetLogr{logrLogger}\n\n\t// Use the logger\n\tlogger.Word(\"The buzz in the street\", \"key1\", \"value1\")\n\n\terr := errors.New(\"some creepy error\")\n\tlogger.Sus(err, \"It's looking sus!\", \"key1\", \"value1\")\n}\n```\n\nA more extensible example can be found in the [example](/example) folder.\n\n## 🤝 Contributing\n\nContributions are what make the open-source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📄 License\n\nDistributed under the Apache 2.0 License. See [LICENSE.md](LICENSE) for more information.\n\n## 📣 Acknowledgements\n\n* Go `logr`\n* Uber's `zap`\n* The incredible Go community\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafritzler%2Fstreetlogr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafritzler%2Fstreetlogr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafritzler%2Fstreetlogr/lists"}