veqryn / slog-context
Use golang structured logging (slog) with context. Add and retrieve logger to and from context. Add attributes to context. Automatically read any custom context values, such as OpenTelemetry TraceID.
☆46Updated 5 months ago
Related projects ⓘ
Alternatives and complementary repositories for slog-context
- Bridge between Go testing.T and slog.☆48Updated last year
- checks usage of OpenTelemetry/Census spans☆77Updated 3 months ago
- A sharded wrapper for golang.org/x/sync/singleflight for high contention enviroments☆59Updated 2 years ago
- Native type for dealing with dates in Go☆66Updated this week
- Colorized JSON output for Go☆46Updated 9 months ago
- 🚨 slog: Zerolog handler☆36Updated this week
- 🪵 Ensure consistent code style when using log/slog☆107Updated this week
- Go package to associate status codes and messages with errors☆23Updated 2 years ago
- 🚨 slog sampling: drop repetitive log records☆54Updated last week
- Tooling for Go import cycles☆66Updated 3 months ago
- Elegant middleware functions for your HTTP clients.☆100Updated last year
- A simpler and faster alternative to regexp☆52Updated 2 years ago
- simple and secure way to authorize your application with the OpenID Connect☆33Updated last year
- Time Ranges☆39Updated last year
- PostgreSQL Lock Client for Go☆108Updated last week
- Go Parser for ANSI strings☆63Updated last year
- Use right mirror functions for string/[]byte performance bust☆43Updated this week
- Dynamically generate self-signed certificates and certificate authorities for Go tests☆69Updated last month
- 🚨 Chi middleware for slog logger☆50Updated this week
- docker-compose alike functionality directly from golang, for integration testing.☆63Updated 9 months ago
- Go 1.23 range functions with database/sql☆138Updated this week
- Tiny wrapper around SQLX for Generic SQL queries☆49Updated 3 weeks ago
- Go slog's Handler implementation to ensure correlation with Open-Telemetry spans.☆119Updated 4 months ago
- A go library that implements application/problem+json and application/problem+xml☆66Updated 9 months ago
- TStat provides a friendly way to query Go test output and cover profiles☆23Updated last year
- Behaviour Driven Development tests generator for Golang☆77Updated 4 months ago
- Cookies, but with structs, for happiness.☆111Updated this week
- spectacular Golang struct tag parsing☆61Updated 9 months ago
- Linter that confirms DB rows and statements are closed properly.☆83Updated 3 weeks ago
- Optional values for Go☆104Updated last year