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.
☆84Updated 3 weeks ago
Alternatives and similar repositories for slog-context
Users that are interested in slog-context are comparing it to the libraries listed below
Sorting:
- Go slog's Handler implementation to ensure correlation with Open-Telemetry spans.☆126Updated 3 months ago
- 🚨 slog sampling: drop repetitive log records☆81Updated last week
- Native type for dealing with dates in Go☆68Updated last week
- Bridge between Go testing.T and slog.☆75Updated last year
- Go 1.23 range functions with database/sql☆146Updated 5 months ago
- 🪵 Ensure consistent code style when using log/slog☆194Updated last month
- 🚨 net/http middleware for slog logger☆67Updated this week
- checks usage of OpenTelemetry/Census spans☆81Updated last week
- 🚨 slog: Attribute formatting☆169Updated last week
- Cookies, but with structs, for happiness.☆111Updated last week
- A sharded wrapper for golang.org/x/sync/singleflight for high contention enviroments☆68Updated 3 years ago
- Optional values for Go☆103Updated 4 months ago
- 🚨 Chi middleware for slog logger☆70Updated this week
- Tooling for Go import cycles☆72Updated 9 months ago
- Golang charting and graphing library☆73Updated this week
- A modern generic testing assertions library for Go☆190Updated 2 months ago
- Modern, zero-dependency HTTP library for Go☆146Updated last year
- Tiny wrapper around SQLX for Generic SQL queries☆48Updated 6 months ago
- Embedded Swagger UI for Go☆75Updated last week
- Use right mirror functions for string/[]byte performance bust☆44Updated last month
- Importable package that parses version info from debug.ReadBuildInfo().☆287Updated 6 months ago
- Transactor is an injectable type making DB transactions seamless.☆142Updated this week
- OpenTelemetry Tracing instrumentation for PostgreSQL☆130Updated this week
- Collection of log/slog related projects.☆222Updated 4 months ago
- The go-xerrors is an idiomatic and lightweight package that provides a set of functions to make working with errors easier.☆64Updated 2 weeks ago
- A zero-dependency generic in-memory cache Go library☆123Updated 5 months ago
- Automatic test runs for Go projects☆141Updated last year
- Elegant middleware functions for your HTTP clients.☆103Updated 2 years ago
- An opinionated OpenAPI v3 code generator for Go. Use this to generate API models and router scaffolding.☆109Updated last month
- devslog - Go slog.Handler for development☆187Updated 2 weeks ago