• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-pkgz / lgr
95%

Build:
DEFAULT BRANCH: master
Repo Added 07 Jan 2019 08:30PM UTC
Files 6
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • adaptor
  • add-slog-integration
  • fix-ci-caching
  • fix-from-slog-handler-add-source
  • fix-secret-redaction-slog-handler
  • fix-slog-debug-and-modernize
  • fix-slog-handler-duplication
  • formatter
  • levels-shortcut
  • mapper
  • rbac
  • refs/tags/v0.10.0
  • refs/tags/v0.10.1
  • refs/tags/v0.10.2
  • refs/tags/v0.10.3
  • refs/tags/v0.10.4
  • refs/tags/v0.11.0
  • refs/tags/v0.11.1
  • refs/tags/v0.12.0
  • refs/tags/v0.12.1
  • refs/tags/v0.12.2
  • refs/tags/v0.12.3
  • refs/tags/v0.12.4
  • refs/tags/v0.7.0
  • refs/tags/v0.8.0
  • refs/tags/v0.9.0
  • v0.4.0
  • v0.5.0
  • v0.6.0
  • v0.6.1
  • v0.6.2
  • v0.6.3

18 Aug 2026 10:56PM UTC coverage: 94.6% (+0.03%) from 94.567%
32195011342

push

github

web-flow
Fix secret redaction bypassed by SlogHandler (#31)

* Fix secret redaction bypassed by SlogHandler

Previously, the SlogHandler path in logf built the slog record from the raw
message and returned before hideSecrets ran on the formatted line, so Secret()
had no effect whenever a slog handler was set. After this change the message is
redacted right after level extraction, which covers the slog handler and the
PANIC stderr output as well as the regular formatted line.

* Bump testify to v1.12.0

Testify v1.12.0 no longer requires go-spew and go-difflib, so go mod tidy
drops them from the indirect requirements. The go directive stays at 1.21.

3 of 3 new or added lines in 1 file covered. (100.0%)

473 of 500 relevant lines covered (94.6%)

243.15 hits per line

Relevant lines Covered
Build:
Build:
500 RELEVANT LINES 473 COVERED LINES
243.15 HITS PER LINE
Source Files on master
  • Tree
  • List 6
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
32195011342 master Fix secret redaction bypassed by SlogHandler (#31) * Fix secret redaction bypassed by SlogHandler Previously, the SlogHandler path in logf built the slog record from the raw message and returned before hideSecrets ran on the formatted line, so S... push 18 Aug 2026 10:57PM UTC web-flow github
94.6
23417060789 master Fix ToSlogHandler duplicating time and level in output, closes #29 lgrSlogHandler.Handle() was prepending its own timestamp and level to the message before passing to lgr.Logf, which adds its own formatting. Remove redundant time construction, ke... push 23 Mar 2026 01:06AM UTC umputun github
94.57
21886809330 master Merge pull request #28 from go-pkgz/fix-from-slog-handler-add-source Fix FromSlogHandler ignoring AddSource option push 10 Feb 2026 11:45PM UTC web-flow github
94.61
19903524680 master Fix CI workflow: checkout before setup-go for proper caching (#27) Move checkout step before setup-go to allow Go module caching. setup-go needs go.mod/go.sum files to generate cache keys. Also update actions to latest versions and golangci-lint ... push 03 Dec 2025 05:51PM UTC web-flow github
94.83
15495380736 master Merge pull request #25 from go-pkgz/fix-slog-debug-and-modernize Fix SetupWithSlog debug filtering and modernize tooling push 06 Jun 2025 04:38PM UTC web-flow github
94.83
13881669381 master Add log/slog integration (#23) push 16 Mar 2025 08:44AM UTC web-flow github
94.77
12381998754 master lint: update linter settings to eliminate false positives push 17 Dec 2024 09:48PM UTC umputun github
95.16
6341734239 master switch to go1.20 push 28 Sep 2023 04:36PM UTC umputun github
95.16
4229864970 master update ci build push 21 Feb 2023 06:22AM UTC Umputun github
95.14
3954881858 master update example to 1.19 push 19 Jan 2023 02:51AM UTC Umputun github
95.14
See All Builds (149)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc