veqryn / slog-contextLinks
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.
☆85Updated this week
Alternatives and similar repositories for slog-context
Users that are interested in slog-context are comparing it to the libraries listed below
Sorting:
- checks usage of OpenTelemetry/Census spans☆81Updated 3 weeks ago
- Go slog's Handler implementation to ensure correlation with Open-Telemetry spans.☆127Updated last week
- 🪵 Ensure consistent code style when using log/slog☆195Updated 3 weeks ago
- Bridge between Go testing.T and slog.☆76Updated last year
- Go 1.23 range functions with database/sql☆147Updated 6 months ago
- Use right mirror functions for string/[]byte performance bust☆44Updated last month
- 🚨 net/http middleware for slog logger☆72Updated 3 weeks ago
- Native type for dealing with dates in Go☆68Updated 2 weeks ago
- 🚨 slog sampling: drop repetitive log records☆82Updated 3 weeks ago
- A sharded wrapper for golang.org/x/sync/singleflight for high contention enviroments☆69Updated 3 years ago
- A zero-dependency generic in-memory cache Go library☆124Updated 5 months ago
- A CLI tool and GitHub Action to post Go code coverage reports as comment to your pull requests.☆87Updated last week
- Transactor is an injectable type making DB transactions seamless.☆144Updated this week
- Tiny wrapper around SQLX for Generic SQL queries☆48Updated 7 months ago
- A robust, dependency-free go library that provides simple, thin, and user-friendly pub-sub kind of in-process event system for your Go ap…☆111Updated 10 months ago
- 🔍 Load environment variables into a config struct☆70Updated 9 months ago
- Golang charting and graphing library☆73Updated last week
- FSBroker is a Go library which aims to broker, group, dedup, and filter FSNotify events.☆71Updated last week
- Cookies, but with structs, for happiness.☆111Updated 2 weeks ago
- Modern, zero-dependency HTTP library for Go☆146Updated last year
- A high-performance rate limiter library for Go applications☆135Updated this week
- Elegant middleware functions for your HTTP clients.☆103Updated 2 years ago
- Adding "unset" state to Go's types☆82Updated last year
- Dynamically generate self-signed certificates and certificate authorities for Go tests☆74Updated 5 months ago
- 🚨 Chi middleware for slog logger☆72Updated last week
- Importable package that parses version info from debug.ReadBuildInfo().☆288Updated 6 months ago
- 🚨 slog: Attribute formatting☆171Updated 3 weeks ago
- Optional values for Go☆103Updated 5 months ago
- PostgreSQL Lock Client for Go☆115Updated 2 weeks ago
- Linter that confirms DB rows and statements are closed properly.☆89Updated 2 weeks ago