24faec7583afee2bad110609c61e1bfec5d39d90
logging / coverage-baseline (push) Successful in 55s
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 25s
Unbound Release / Create Release (push) Successful in 15s
Release / release (push) Successful in 12m43s
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
112 KiB
0 Stars
6 Watchers
0 Forks