d3da98dcd048739846ccc44ab011fd077308ff14
logging / test (push) Skipped
logging / vulnerabilities (push) Skipped
Unbound Release / Generate Changelog and Handle PR (push) Successful in 45s
Unbound Release / Check Preconditions (push) Successful in 30s
logging / coverage-baseline (push) Successful in 48s
pre-commit / pre-commit (push) Successful in 2m27s
Unbound Release / Create Release (push) Successful in 32s
Unbound Release / Create Tag (push) Skipped
Release / release (push) Successful in 1m20s
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.
Description
Shared logging primitives (slog setup, context logger, mock logger, request-logger middleware) for Shiny services
82 KiB