{"id":22222450,"url":"https://github.com/phsym/zeroslog","last_synced_at":"2025-10-13T07:30:21.246Z","repository":{"id":188495651,"uuid":"678848626","full_name":"phsym/zeroslog","owner":"phsym","description":"A zerolog handler for slog","archived":false,"fork":false,"pushed_at":"2024-09-23T16:02:10.000Z","size":44,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-02T23:18:18.782Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/phsym.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}},"created_at":"2023-08-15T14:21:57.000Z","updated_at":"2024-11-08T16:44:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"643039b4-1d86-4b07-8802-db6899d2d932","html_url":"https://github.com/phsym/zeroslog","commit_stats":null,"previous_names":["phsym/zeroslog"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phsym%2Fzeroslog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phsym%2Fzeroslog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phsym%2Fzeroslog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phsym%2Fzeroslog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phsym","download_url":"https://codeload.github.com/phsym/zeroslog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236311046,"owners_count":19128615,"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-12-02T23:18:20.871Z","updated_at":"2025-10-13T07:30:15.809Z","avatar_url":"https://github.com/phsym.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zeroslog\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/phsym/zeroslog.svg)](https://pkg.go.dev/github.com/phsym/zeroslog) [![license](http://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://raw.githubusercontent.com/phsym/zeroslog/master/LICENSE) [![Build](https://github.com/phsym/zeroslog/actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/phsym/zeroslog/actions/workflows/go.yml) [![codecov](https://codecov.io/gh/phsym/zeroslog/graph/badge.svg?token=VXOLS2AJOO)](https://codecov.io/gh/phsym/zeroslog) [![Go Report Card](https://goreportcard.com/badge/github.com/phsym/zeroslog)](https://goreportcard.com/report/github.com/phsym/zeroslog)\n\nA zerolog handler for slog\n\n## Example\n```go\npackage main\n\nimport (\n\t\"log/slog\"\n\t\"github.com/phsym/zeroslog\"\n)\n\nfunc main() {\n\tlogger := slog.New(\n        zeroslog.NewJsonHandler(os.Stderr, \u0026zeroslog.HandlerOptions{Level: slog.LevelDebug}),\n    )\n\tslog.SetDefault(logger)\n    slog.Info(\"Hello world!\", \"foo\", \"bar\")\n}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphsym%2Fzeroslog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphsym%2Fzeroslog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphsym%2Fzeroslog/lists"}