Polished and well engineered. Punching above its star count.
📑 Lightweight, configurable, extensible logging library written in Go. Support multi level, multi outputs and built-in multi file logger, buffers, clean, rotate-file handling.一个易于使用的,轻量级、可配置、可扩展的日志库。支持多个级别,输出到多文件;内置文件日志处理、自动切割、清理、压缩等增强功能
Documentation
82
No CONTRIBUTING.md found (−47 pts base + up to −53 pts more for content).
→ Add a CONTRIBUTING.md telling newcomers how to get involved. Include setup, code style, test, and PR instructions.
README documents how to install the project.
README is present.
Licensed under MIT.
Engineering
95
CI is configured (.github/workflows/go.yml).
Lockfile present (go.sum). Installs are reproducible.
Test files detected (_example/bench_loglibs_test.go).
Formatting enforced (gofmt (built into Go toolchain)).
Issue or PR templates present.
Project health
100
Dependency manifest found (go.mod).
Repository has a description.
Actively maintained (pushed within the last month).
.gitignore present.
Repository health signals
Activity, community, and responsiveness at scan time
Activity
- —Commits (30d / 90d)
- 33Forks
- 31Releaseslatest 5y ago
Community
- —Community health
- —authors own >50% of commits
- 546Watchers
Responsiveness
- 4hMedian issue response
- 5hMedian PR merge time
- 1Open issues
Repository files43 root entries
- _exampleGood: Test files detected (_example/bench_loglibs_test.go).
- .githubGood: CI is configured (.github/workflows/go.yml).Good: Dependabot covers 2 ecosystems (gomod, github-actions). Dependencies stay current.Good: Issue or PR templates present.
- bufwrite
- docs
- handler
- internal
- rotatefile
- testdata
- .gitignoreGood: .gitignore present.
- benchmark_test.go
- benchmark2_test.go
- common_test.go
- common.go
- example_test.go
- formatter_caller_test.go
- formatter_json.go
- formatter_race_test.go
- formatter_test.go
- formatter_text.go
- formatter.go
- go.modGood: Dependency manifest found (go.mod).
- go.sumGood: Lockfile present (go.sum). Installs are reproducible.
- handler_test.go
- handler.go
- issues_test.go
- LICENSEGood: Licensed under MIT.
- logger_levelgate_test.go
- logger_sub.go
- logger_test.go
- logger_write.go
- logger.go
- Makefile
- processor_test.go
- processor.go
- README.mdGood: README is present.Good: README is well structured with multiple sections.Good: README includes screenshots or visuals. Great for first impressions.Good: README has code examples.Good: README links to a live demo or deployed app.Good: README includes status badges.Good: README documents how to install the project.Good: README documents how to run the project.
- README.zh-CN.md
- record_test.go
- record.go
- slog_test.go
- slog.go
- sugared.go
- util_test.go
- util.go