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.
β198Nov 14, 2026Updated 2 weeks ago
Alternatives and similar repositories for slog-context
Users that are interested in slog-context are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Format your Golang structured logs (slog) using the JSON v2 library, with optional single-line pretty-printingβ13Sep 2, 2026Updated 2 months ago
- πͺ΅ Ensure consistent code style when using log/slogβ279Nov 15, 2026Updated 2 weeks ago
- TUI for managing golang-migrate migrationsβ16Jun 6, 2024Updated 2 years ago
- π₯ Error handling library with context, assertion, stack trace and source fragmentsβ997Nov 22, 2026Updated last week
- detects nested contexts in loops or function literalsβ83Nov 1, 2026Updated 3 weeks ago
- Virtual machines for every use case on DigitalOcean β’ AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- π¨ Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...β646Oct 23, 2026Updated last month
- π slog.Handler that writes tinted (colorized) logsβ1,375Updated this week
- A human-friendly (but still largely structured) slog.Handlerβ13Oct 18, 2026Updated last month
- π¦ Rust-like `println!` for Go with Superpowers πβ16Jan 18, 2025Updated last year
- WIPβ21Jun 23, 2025Updated last year
- The go-xerrors is an idiomatic and lightweight package that provides a set of functions to make working with errors easier.β81Aug 13, 2026Updated 3 months ago
- devslog - Go slog.Handler for developmentβ210Jun 19, 2026Updated 5 months ago
- Collection of log/slog related projects.β259Jul 21, 2026Updated 4 months ago
- Fence based CAS for Go with read-time validation, stale-write protection, pluggable codecs, and local or Redis backends.β69Nov 3, 2026Updated 3 weeks ago
- Managed hosting for WordPress and PHP on Cloudways β’ AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- In memory cache with sieve eviction algorithm in pure Go.β64Nov 18, 2026Updated last week
- The zerolint linter checks usage patterns of pointers to zero-size types in Goβ19May 5, 2026Updated 6 months ago
- High-performance configuration management framework for Go applications with zero-allocation performance, universal format support (JSON,β¦β168Updated this week
- Go toolkit for clean, composable, channel-based concurrency.β1,897Sep 29, 2026Updated 2 months ago
- A caching library with advanced concurrency features designed to make I/O heavy applications robust and highly performantβ1,287Nov 19, 2026Updated last week
- π¨ slog: Attribute formattingβ230Nov 1, 2026Updated 3 weeks ago
- Fault tolerance and resilience patterns for Goβ2,268Nov 23, 2026Updated last week
- ποΈ Streams & Reactive Programming paradigm for Go: declarative and composable API for event-driven applicationsβ696Nov 14, 2026Updated 2 weeks ago
- Type safe enums for Go without code generation or reflectionβ461Aug 17, 2025Updated last year
- 1-Click AI Models by DigitalOcean Gradient β’ AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Π‘hecks that the Structes are created by the Factoryβ15Nov 1, 2026Updated 3 weeks ago
- Go Dependency Analysis toolkitβ1,757Nov 9, 2026Updated 3 weeks ago
- Tool for analyzing behavior change risk in golang module updatesβ16Nov 23, 2026Updated last week
- Golang linter checks for receiver type consistencyβ16Updated this week
- Jessy is a high-performance JSON library for Goβ72May 12, 2025Updated last year
- Go errors but structured and composable. Fault provides an extensible yet ergonomic mechanism for wrapping errors.β306Jun 14, 2025Updated last year
- A simple logging interface for Goβ1,407Updated this week
- SQL query builder and ORM/Factory generator for Go with support for PostgreSQL, MySQL and SQLiteβ1,808Updated this week
- Regular Expression Researchβ12Jul 6, 2022Updated 4 years ago
- Bare Metal GPUs on DigitalOcean Gradient AI β’ AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- perhaps the best CORS middleware library for Goβ227Updated this week
- Sync files with an upstream versionβ13Jul 23, 2026Updated 4 months ago
- Go error library with error portability over the networkβ2,484Nov 11, 2026Updated 2 weeks ago
- Zero-effort, concise configuration management that avoids boilerplate and repetitive actions.β200Jul 19, 2026Updated 4 months ago
- An implementation of a `Nullable` type for JSON bodies, indicating whether the field is absent, set to null, or set to a valueβ141Nov 14, 2026Updated 2 weeks ago
- Elegant and powerful Go enums with zero code generationβ43Jan 2, 2025Updated last year
- A Transport for http.Client that will cache responses according to the HTTP RFCβ54Nov 14, 2026Updated 2 weeks ago
Are these results useful?