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.
β197Sep 18, 2026Updated last month
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 last month
- πͺ΅ Ensure consistent code style when using log/slogβ275Sep 15, 2026Updated last month
- TUI for managing golang-migrate migrationsβ16Jun 6, 2024Updated 2 years ago
- π₯ Error handling library with context, assertion, stack trace and source fragmentsβ996Oct 2, 2026Updated 2 weeks ago
- WIPβ21Jun 23, 2025Updated last year
- Wordpress hosting with auto-scaling - Free Trial Offer β’ AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- A human-friendly (but still largely structured) slog.Handlerβ13Updated this week
- devslog - Go slog.Handler for developmentβ210Jun 19, 2026Updated 4 months ago
- detects nested contexts in loops or function literalsβ83Sep 11, 2026Updated last month
- π¦ Rust-like `println!` for Go with Superpowers πβ16Jan 18, 2025Updated last year
- π slog.Handler that writes tinted (colorized) logsβ1,364Oct 2, 2026Updated 2 weeks ago
- Fault tolerance and resilience patterns for Goβ2,256Oct 1, 2026Updated 2 weeks ago
- Fence based CAS for Go with read-time validation, stale-write protection, pluggable codecs, and local or Redis backends.β68Sep 11, 2026Updated last month
- In memory cache with sieve eviction algorithm in pure Go.β64Sep 19, 2026Updated last month
- The zerolint linter checks usage patterns of pointers to zero-size types in Goβ19May 5, 2026Updated 5 months 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.
- π¨ Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...β638Sep 1, 2026Updated last month
- Type safe enums for Go without code generation or reflectionβ463Aug 17, 2025Updated last year
- Composable concurrency toolkit for Goβ1,889Sep 29, 2026Updated 2 weeks ago
- High-performance configuration management framework for Go applications with zero-allocation performance, universal format support (JSON,β¦β169Updated this week
- π¨ slog: Attribute formattingβ226Sep 1, 2026Updated last month
- Π‘hecks that the Structes are created by the Factoryβ15Oct 10, 2026Updated last week
- ποΈ Streams & Reactive Programming paradigm for Go: declarative and composable API for event-driven applicationsβ694Updated this week
- Go Dependency Analysis toolkitβ1,730Updated this week
- A caching library with advanced concurrency features designed to make I/O heavy applications robust and highly performantβ1,282Sep 30, 2026Updated 2 weeks ago
- 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.
- perhaps the best CORS middleware library for Goβ224Oct 12, 2026Updated last week
- SQL query builder and ORM/Factory generator for Go with support for PostgreSQL, MySQL and SQLiteβ1,793Oct 6, 2026Updated 2 weeks ago
- Tool for analyzing behavior change risk in golang module updatesβ16Sep 28, 2026Updated 3 weeks ago
- Zero-effort, concise configuration management that avoids boilerplate and repetitive actions.β200Jul 19, 2026Updated 3 months ago
- Elegant and powerful Go enums with zero code generationβ43Jan 2, 2025Updated last year
- The go-xerrors is an idiomatic and lightweight package that provides a set of functions to make working with errors easier.β80Aug 13, 2026Updated 2 months ago
- Regular Expression Researchβ12Jul 6, 2022Updated 4 years ago
- Go errors but structured and composable. Fault provides an extensible yet ergonomic mechanism for wrapping errors.β308Jun 14, 2025Updated last year
- A simple logging interface for Goβ1,407Oct 11, 2026Updated last week
- End-to-end encrypted email - Proton Mail β’ AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Fast and customizable object pool, ideal for workloads that want to create less memory.β33Mar 28, 2026Updated 6 months ago
- Framework for pipeline execution with structured parallelism, retriability, load balancing and more.β31Jun 2, 2025Updated last year
- Go error library with error portability over the networkβ2,475Updated this week
- Analyzer: fourcetypeassert finds type assertions which did forcelyβ49Feb 13, 2025Updated last year
- Go with Zod inspired simple schema validationβ1,218Aug 30, 2026Updated last month
- A utility for parsing Common and Combined Log Format (CLF) log files.β35Mar 29, 2025Updated last year
- A Transport for http.Client that will cache responses according to the HTTP RFCβ54Oct 6, 2026Updated last week