09bf3e5a2d177a2ce0b0fd2d1647b467641a8c56
logging / coverage-baseline (push) Successful in 1m27s
Unbound Release / Check Preconditions (push) Successful in 2s
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 10s
Unbound Release / Create Release (push) Successful in 8s
Release / release (push) Successful in 11m56s
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
118 KiB
0 Stars
6 Watchers
0 Forks