0ddba1ad1cc775bfa688b7d7d4dd7b7da458c239
logging / coverage-baseline (push) Successful in 50s
logging / test (push) Skipped
logging / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
Unbound Release / Create Release (push) Successful in 24s
Unbound Release / Check Preconditions (push) Successful in 27s
Unbound Release / Create Tag (push) Skipped
Release / release (push) Successful in 2m48s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 59s
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
98 KiB
0 Stars
6 Watchers
0 Forks