releaser b78c2a98a7
Unbound Release / Check Preconditions (push) Successful in 21s
Unbound Release / Create Tag (push) Skipped
logging / coverage-baseline (push) Successful in 1m13s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 23s
logging / test (push) Skipped
logging / vulnerabilities (push) Skipped
Release / release (push) Successful in 1m37s
Unbound Release / Create Release (push) Successful in 26s
pre-commit / pre-commit (push) Successful in 2m9s
chore(release): prepare for v0.2.1 (#18)
## [0.2.1] - 2026-08-07

### 🐛 Bug Fixes

- *(deps)* Update module go.opentelemetry.io/contrib/bridges/otelslog to v0.20.0 (#17)

### ⚙️ Miscellaneous Tasks

- *(deps)* Update actions/checkout action to v7 (#7)
- *(deps)* Update actions/cache action to v6 (#9)
- *(deps)* Update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.26.0 (#11)
- *(deps)* Update actions/setup-go action to v7 (#13)
- *(deps)* Update actions/setup-python action to v7 (#15)

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

---

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

Reviewed-on: #18
Co-authored-by: Unbound Releaser <releaser@unbound.se>
2026-08-08 07:17:13 +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%