argoyle acd75e1cac
logging / coverage-baseline (push) Successful in 38s
Unbound Release / Check Preconditions (push) Successful in 1s
Unbound Release / Create Tag (push) Skipped
logging / test (push) Skipped
logging / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
Unbound Release / Generate Changelog and Handle PR (push) Successful in 7s
Unbound Release / Create Release (push) Successful in 4s
Release / release (push) Successful in 23m4s
chore(renovate): drop the OpenTelemetry group, now in the central config (#39)
The Renovate bot's global config now groups go.opentelemetry.io and our own libraries (shiny, unboundsoftware) for every repo; a repo rule matching the same packages would override that grouping.

Central Renovate config: unboundsoftware/infra#1911. otelsetup: shiny/otelsetup#206.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01H6eVuR4Yt3m7TbDTDwyZJi
Reviewed-on: #39
2026-10-16 23:34:18 +00:00
2026-06-15 11:52:40 +02:00
2026-06-15 11:52:40 +02: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
104 KiB
0 Stars 6 Watchers 0 Forks
v0.2.2
Latest
2026-08-29 11:31:32 +00:00
Languages
Go 100%