{"id":37194591,"url":"https://github.com/ysk229/go-logs","last_synced_at":"2026-01-14T22:37:35.704Z","repository":{"id":65662012,"uuid":"551757787","full_name":"ysk229/go-logs","owner":"ysk229","description":"go logs","archived":false,"fork":false,"pushed_at":"2023-02-02T04:19:25.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-20T00:44:28.608Z","etag":null,"topics":["go","logger","logging","logs","loguru","std","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/ysk229.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":"2022-10-15T03:11:09.000Z","updated_at":"2024-06-20T00:44:28.609Z","dependencies_parsed_at":"2023-02-17T14:15:35.482Z","dependency_job_id":null,"html_url":"https://github.com/ysk229/go-logs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ysk229/go-logs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysk229%2Fgo-logs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysk229%2Fgo-logs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysk229%2Fgo-logs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysk229%2Fgo-logs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ysk229","download_url":"https://codeload.github.com/ysk229/go-logs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysk229%2Fgo-logs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28436679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T21:32:52.117Z","status":"ssl_error","status_checked_at":"2026-01-14T21:32:33.442Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","logger","logging","logs","loguru","std","zap"],"created_at":"2026-01-14T22:37:35.042Z","updated_at":"2026-01-14T22:37:35.691Z","avatar_url":"https://github.com/ysk229.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-logs\n\n\n\n[![Build Status](https://github.com/ysk229/go-logs/workflows/Go/badge.svg)](https://github.com/ysk229/go-logs/actions)\n[![Github License](https://img.shields.io/github/license/ysk229/go-logs.svg?style=flat)](https://github.com/ysk229/go-logs/blob/master/LICENSE)\n[![Go Doc](https://godoc.org/github.com/ysk229/go-logs?status.svg)](https://pkg.go.dev/github.com/ysk229/go-logs)\n[![Go Report Card](https://goreportcard.com/badge/github.com/ysk229/go-logs)](https://goreportcard.com/report/github.com/ysk229/go-logs)\n[![GoDoc reference example](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/ysk229/go-logs)\n[![GitHub go.mod Go version of a Go module](https://img.shields.io/github/go-mod/go-version/gomods/athens.svg)](https://github.com/ysk229/go-logs)\n[![Github Latest Release](https://img.shields.io/github/release/ysk229/go-logs.svg?style=flat)](https://github.com/ysk229/go-logs/releases/latest)\n[![Github Latest Tag](https://img.shields.io/github/tag/ysk229/go-logs.svg?style=flat)](https://github.com/ysk229/go-logs/tags)\n[![Github Stars](https://img.shields.io/github/stars/ysk229/go-logs.svg?style=flat)](https://github.com/ysk229/go-logs/stargazers)\n\n## ⚙️ Installation\n\nDownload rabbitmq package by using:\n```bash\ngo get github.com/ysk229/go-logs\n```\n\n## 🚀 Quick Start \n\n### Default options\n\n```go\n    l := log.DefaultLogger\n    l.Info(\"info\") // 不打印\n    l.Warnw(\"key\", \"value\")\n    l.Errorf(\"%v\", \"sdfdsfds\")\n    l.SetLevel(\"info\")\n    lg.Println(\"test\")\n    l.Info(\"show info log\")\n    l.SetLevel(\"warn\")\n    l.Warnw(\"key\", \"value\")\n```\n \n## Other usage examples\n\nSee the [examples](_examples) directory for more ideas.\n\n\n\n## Transient Dependencies\n\n- [go.uber.org/zap](https://github.com/uber-go/zap)\n- [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus)\n\n## 👏 Contributing\n\nI love help! Contribute by forking the repo and opening pull requests. Please ensure that your code passes the existing tests and linting, and write tests to test your changes if applicable.\n\nAll pull requests should be submitted to the `main` branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysk229%2Fgo-logs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fysk229%2Fgo-logs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysk229%2Fgo-logs/lists"}