{"id":15845019,"url":"https://github.com/efectn/fx-zerolog","last_synced_at":"2025-03-15T19:32:16.628Z","repository":{"id":38262912,"uuid":"479782186","full_name":"efectn/fx-zerolog","owner":"efectn","description":"Zerolog adapter for uber-go/fx/fxevent.","archived":false,"fork":false,"pushed_at":"2023-02-21T19:36:22.000Z","size":47,"stargazers_count":7,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T04:09:35.508Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/efectn.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":"2022-04-09T16:27:55.000Z","updated_at":"2024-09-09T12:00:26.000Z","dependencies_parsed_at":"2024-06-21T19:18:54.626Z","dependency_job_id":"8851d1b1-47f8-4c4a-974c-6bf8c5472fb0","html_url":"https://github.com/efectn/fx-zerolog","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/efectn%2Ffx-zerolog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efectn%2Ffx-zerolog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efectn%2Ffx-zerolog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efectn%2Ffx-zerolog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/efectn","download_url":"https://codeload.github.com/efectn/fx-zerolog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243781719,"owners_count":20347133,"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":[],"created_at":"2024-10-05T17:41:38.055Z","updated_at":"2025-03-15T19:32:16.321Z","avatar_url":"https://github.com/efectn.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zerolog Adapter for Fx\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/efectn/fx-zerolog.svg)](https://pkg.go.dev/github.com/efectn/fx-zerolog)\n\nZerolog adapter for uber-go/fx/fxevent. \n\n### Supported Go Versions\n- 1.18\n\n### Install\n\n```shell\ngo get -u github.com/efectn/fx-zerolog@latest\n```\n\n### Example\n```go\nimport (\n    \"github.com/rs/zerolog\"\n    \"go.uber.org/fx\"\n    \"github.com/efectn/fx-zerolog\"\n)\n\n// ...\n\nfunc main() {\n    fx.New(\n    \tfx.Provide(\n    \t\tNewLogger,\n    \t\tNewConfig,\n    \t\tNewRouter,\n    \t),\n    \tfx.Invoke(Listen),\n\n    \tWithLogger(\n           fxzerolog.Init(),\n       ),\n    )\n}\n```\n\n### License\n\nfx-zerolog is licensed under the terms of the **GPL-3 License** (see [LICENSE](LICENSE)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefectn%2Ffx-zerolog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fefectn%2Ffx-zerolog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefectn%2Ffx-zerolog/lists"}