renovate 9673396aa1
logging / test (push) Has been skipped
logging / vulnerabilities (push) Has been skipped
logging / coverage-baseline (push) Successful in 1m5s
Release / release (push) Successful in 1m16s
pre-commit / pre-commit (push) Successful in 3m57s
chore(deps): update actions/setup-go action to v7 (#13)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-go](https://github.com/actions/setup-go) | action | major | `v6` → `v7` |

---

### Release Notes

<details>
<summary>actions/setup-go (actions/setup-go)</summary>

### [`v7.0.0`](https://github.com/actions/setup-go/releases/tag/v7.0.0)

[Compare Source](https://github.com/actions/setup-go/compare/v7.0.0...v7.0.0)

##### What's Changed

- Migrate to ESM and upgrade dependencies by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;763](https://github.com/actions/setup-go/pull/763)
- chore(deps): bump [@&#8203;actions/cache](https://github.com/actions/cache) to 6.2.0 by [@&#8203;philip-gai](https://github.com/philip-gai) in [#&#8203;771](https://github.com/actions/setup-go/pull/771)

##### New Contributors

- [@&#8203;philip-gai](https://github.com/philip-gai) made their first contribution in [#&#8203;771](https://github.com/actions/setup-go/pull/771)

**Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v7.0.0>

### [`v7`](https://github.com/actions/setup-go/compare/v6.5.0...v7.0.0)

[Compare Source](https://github.com/actions/setup-go/compare/v6.5.0...v7.0.0)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDMuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI0My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #13
Co-authored-by: Renovate Bot <renovate@unbound.se>
Co-committed-by: Renovate Bot <renovate@unbound.se>
2026-07-19 18:44:28 +00:00
2026-06-15 11:52:40 +02:00
2026-06-15 11:52:40 +02:00
2026-06-15 11:52:40 +02:00
2026-06-15 11:52:40 +02:00
2026-06-15 10:07:07 +00: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
82 KiB
v0.2.2
Latest
2026-08-29 11:31:32 +00:00
Languages
Go 100%