{"id":24856690,"url":"https://github.com/secondtruth/go-logger-logrus","last_synced_at":"2025-07-10T19:33:11.150Z","repository":{"id":221866389,"uuid":"745247039","full_name":"secondtruth/go-logger-logrus","owner":"secondtruth","description":"📖 Logrus implementation of the Go Logger interface","archived":false,"fork":false,"pushed_at":"2024-02-10T16:54:07.000Z","size":8,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T18:02:50.869Z","etag":null,"topics":["interface","interoperability","logging","logrus"],"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}},"created_at":"2024-01-18T23:32:20.000Z","updated_at":"2024-01-28T01:55:09.000Z","dependencies_parsed_at":"2024-02-10T17:52:50.275Z","dependency_job_id":null,"html_url":"https://github.com/secondtruth/go-logger-logrus","commit_stats":null,"previous_names":["secondtruth/go-logger-logrus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/secondtruth/go-logger-logrus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondtruth%2Fgo-logger-logrus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondtruth%2Fgo-logger-logrus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondtruth%2Fgo-logger-logrus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondtruth%2Fgo-logger-logrus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secondtruth","download_url":"https://codeload.github.com/secondtruth/go-logger-logrus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secondtruth%2Fgo-logger-logrus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264639844,"owners_count":23642313,"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","logrus"],"created_at":"2025-01-31T16:45:40.762Z","updated_at":"2025-07-10T19:33:11.133Z","avatar_url":"https://github.com/secondtruth.png","language":"Go","readme":"# Go Logger interface – Logrus implementation\n\nThis library provides an implementation of the [Logger interface](https://github.com/secondtruth/go-logger)\nfor [Logrus](https://github.com/sirupsen/logrus).\n\n## Installation\n\nTo install `go-logger-logrus`, use the following command:\n\n\tgo get -u github.com/secondtruth/go-logger-logrus\n\n## Quick Start\n\n```go\npackage main\n\nimport (\n\t\"os\"\n\n\tlogruslogger \"github.com/secondtruth/go-logger-logrus/logger\"\n\t\"github.com/secondtruth/go-logger/logger\"\n\t\"github.com/sirupsen/logrus\"\n)\n\nfunc main() {\n\tlogrusLog := logrus.New()\n\tlogrusLog.SetFormatter(\u0026logrus.JSONFormatter{})\n\tlogrusLog.SetOutput(os.Stdout)\n\tlogrusLog.SetLevel(logrus.DebugLevel)\n\tlog, _ := logruslogger.NewLogrusLogger(logrusLog)\n\t\n\tlog.WithFields(logger.Fields{\n\t\t\"foo\": \"bar\",\n\t}).Info(\"message\")\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecondtruth%2Fgo-logger-logrus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecondtruth%2Fgo-logger-logrus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecondtruth%2Fgo-logger-logrus/lists"}