{"id":18273239,"url":"https://github.com/spacetab-io/logs-go","last_synced_at":"2025-08-12T00:07:23.198Z","repository":{"id":52007687,"uuid":"252242032","full_name":"spacetab-io/logs-go","owner":"spacetab-io","description":"golang logging wrapper","archived":false,"fork":false,"pushed_at":"2022-06-24T13:01:51.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-29T22:43:07.381Z","etag":null,"topics":["go","golang","logging","logrus","wrapper"],"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/spacetab-io.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}},"created_at":"2020-04-01T17:26:22.000Z","updated_at":"2021-05-08T09:03:48.000Z","dependencies_parsed_at":"2022-09-26T18:01:15.753Z","dependency_job_id":null,"html_url":"https://github.com/spacetab-io/logs-go","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/spacetab-io/logs-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacetab-io%2Flogs-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacetab-io%2Flogs-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacetab-io%2Flogs-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacetab-io%2Flogs-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spacetab-io","download_url":"https://codeload.github.com/spacetab-io/logs-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacetab-io%2Flogs-go/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269976794,"owners_count":24506467,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["go","golang","logging","logrus","wrapper"],"created_at":"2024-11-05T12:05:44.364Z","updated_at":"2025-08-12T00:07:23.173Z","avatar_url":"https://github.com/spacetab-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"logs-go\n-------\n\n[![CircleCI](https://circleci.com/gh/spacetab-io/logs-go.svg?style=shield)](https://circleci.com/gh/spacetab-io/logs-go) [![codecov](https://codecov.io/gh/spacetab-io/logs-go/graph/badge.svg)](https://codecov.io/gh/spacetab-io/logs-go)\n\nWrapper for [zerolog](https://github.com/rs/zerolog) tuned to work with [configuration](https://github.com/spacetab-io/configuration-go) and\nsentry hook.\n\n## Usage\n\nInitiate new logger with filled `log.Config` and use it as common zerolog\n\n```go\npackage main\n\nimport (\n\tlog \"github.com/spacetab-io/logs-go/v2\"\n)\n\nfunc main() {\n\tconf := log.Config{\n\t\tLevel:  \"warn\",\n\t\tFormat: \"text\",\n\t\tCaller: \u0026log.CallerConfig{\n\t\t\tDisabled:         false,\n\t\t\tCallerSkipFrames: 2,\n\t\t},\n\t\tSentry: \u0026log.SentryConfig{\n\t\t\tEnable: true,\n\t\t\tDSN:    \"http://dsn.sentry.com\",\n\t\t},\n\t}\n\n\tif err := log.Init(\"test\", conf, \"logs-go\", \"v2.*.*\", nil); err != nil {\n\t\tpanic(err)\n\t}\n\n\tlog.Warn().Msg(\"log some warning\")\n}\n```\n\n## Licence\n\nThe software is provided under [MIT Licence](LICENCE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacetab-io%2Flogs-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacetab-io%2Flogs-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacetab-io%2Flogs-go/lists"}