releaser dfc87b1003
Unbound Release / Create Tag (push) Skipped
logging / coverage-baseline (push) Successful in 1m20s
Unbound Release / Check Preconditions (push) Successful in 27s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 30s
logging / test (push) Skipped
logging / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
Unbound Release / Create Release (push) Successful in 31s
Release / release (push) Successful in 4m45s
chore(release): prepare for v0.2.2 (#26)
## [0.2.2] - 2026-08-29

### 🐛 Bug Fixes

- *(deps)* Update module github.com/stretchr/testify to v1.12.0 (#19)
- *(deps)* Update module github.com/stretchr/testify to v1.12.1 (#21)
- *(deps)* Update module go.opentelemetry.io/contrib/bridges/otelslog to v0.20.1 (#25)

### ⚙️ Miscellaneous Tasks

- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.13.1 (#22)

<!-- generated by git-cliff -->

---

**Note:** Please use **Squash Merge** when merging this PR.

Reviewed-on: #26
Co-authored-by: Unbound Releaser <releaser@unbound.se>
2026-08-29 11:25:32 +00:00
2026-06-15 11:52:40 +02:00
2026-06-15 11:52:40 +02:00
2026-06-15 10:07:07 +00:00

logging

Shared logging primitives for Shiny backend services.

  • SetupLogger(level, format, service, version) — configures the slog default logger (text / json / otel) and returns it.
  • ContextWithLogger / LoggerFromContext — carry a logger on the context.
  • NewMockLogger() — test helper for asserting log output.
  • logging/middleware.RequestLogger(logger) — HTTP middleware that debug-logs request/response bodies.

Replaces the logging package (and the middleware request-logger) copied into the backend services.

S
Description
Shared logging primitives (slog setup, context logger, mock logger, request-logger middleware) for Shiny services
Readme
82 KiB
v0.2.2
Latest
2026-08-29 11:31:32 +00:00
Languages
Go 100%