{"id":24856689,"url":"https://github.com/secondtruth/go-logger-zap","last_synced_at":"2025-06-23T21:35:32.992Z","repository":{"id":221866374,"uuid":"745936728","full_name":"secondtruth/go-logger-zap","owner":"secondtruth","description":"📖 zap implementation of the Go Logger interface","archived":false,"fork":false,"pushed_at":"2024-02-10T16:54:03.000Z","size":8,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T01:08:03.853Z","etag":null,"topics":["interface","interoperability","logging","zap"],"latest_commit_sha":null,"homepage":"","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/secondtruth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-01-20T15:48:49.000Z","updated_at":"2024-01-28T01:56:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"81a67948-f2ca-4225-bd08-890611dd720f","html_url":"https://github.com/secondtruth/go-logger-zap","commit_stats":null,"previous_names":["secondtruth/go-logger-zap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/secondtruth/go-logger-zap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondtruth%2Fgo-logger-zap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondtruth%2Fgo-logger-zap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondtruth%2Fgo-logger-zap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondtruth%2Fgo-logger-zap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secondtruth","download_url":"https://codeload.github.com/secondtruth/go-logger-zap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondtruth%2Fgo-logger-zap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261559797,"owners_count":23177272,"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":["interface","interoperability","logging","zap"],"created_at":"2025-01-31T16:45:38.824Z","updated_at":"2025-06-23T21:35:32.966Z","avatar_url":"https://github.com/secondtruth.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Logger interface – zap implementation\n\nThis library provides an implementation of the [Logger interface](https://github.com/secondtruth/go-logger)\nfor [zap](https://github.com/uber-go/zap).\n\n## Installation\n\nTo install `go-logger-zap`, use the following command:\n\n\tgo get -u github.com/secondtruth/go-logger-zap\n\n## Quick Start\n\n```go\npackage main\n\nimport (\n\t\"os\"\n\n\tzaplogger \"github.com/secondtruth/go-logger-zap/logger\"\n\t\"github.com/secondtruth/go-logger/logger\"\n\t\"go.uber.org/zap\"\n\t\"go.uber.org/zap/zapcore\"\n)\n\nfunc main() {\n\tconsoleEncoder := zapcore.NewJSONEncoder(zap.NewDevelopmentEncoderConfig())\n\tcore := zapcore.NewCore(consoleEncoder,\n\t\tzapcore.Lock(zapcore.AddSync(os.Stderr)),\n\t\tzapcore.DebugLevel)\n\tzapLog := zap.New(core)\n\tlog, _ := zaplogger.NewZapLogger(zapLog)\n\n \tlog.WithFields(logger.Fields{\n\t\t\"foo\": \"bar\",\n\t}).Info(\"message\")\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecondtruth%2Fgo-logger-zap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecondtruth%2Fgo-logger-zap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecondtruth%2Fgo-logger-zap/lists"}