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 2 months ago
- πͺ΅ Ensure consistent code style when using log/slogβ274Sep 15, 2026Updated last month
- detects nested contexts in loops or function literalsβ83Nov 1, 2026Updated last week
- WIPβ21Jun 23, 2025Updated last year
- TUI for managing golang-migrate migrationsβ16Jun 6, 2024Updated 2 years ago
- 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.
- π₯ Error handling library with context, assertion, stack trace and source fragmentsβ995Nov 1, 2026Updated last week
- π¨ Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...β642Oct 23, 2026Updated 2 weeks ago
- π slog.Handler that writes tinted (colorized) logsβ1,371Oct 2, 2026Updated last month
- A human-friendly (but still largely structured) slog.Handlerβ13Oct 18, 2026Updated 3 weeks ago
- π¦ Rust-like `println!` for Go with Superpowers πβ16Jan 18, 2025Updated last year
- devslog - Go slog.Handler for developmentβ210Jun 19, 2026Updated 4 months ago
- Collection of log/slog related projects.β259Jul 21, 2026Updated 3 months ago
- Fence based CAS for Go with read-time validation, stale-write protection, pluggable codecs, and local or Redis backends.β69Nov 3, 2026Updated last week
- In memory cache with sieve eviction algorithm in pure Go.β64Sep 19, 2026Updated last month
- Managed Database hosting by DigitalOcean β’ AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- 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,β¦β169Nov 2, 2026Updated last week
- A caching library with advanced concurrency features designed to make I/O heavy applications robust and highly performantβ1,284Sep 30, 2026Updated last month
- Composable concurrency toolkit for Goβ1,897Sep 29, 2026Updated last month
- Fault tolerance and resilience patterns for Goβ2,261Oct 1, 2026Updated last month
- ποΈ Streams & Reactive Programming paradigm for Go: declarative and composable API for event-driven applicationsβ697Nov 1, 2026Updated last week
- Type safe enums for Go without code generation or reflectionβ463Aug 17, 2025Updated last year
- Go Dependency Analysis toolkitβ1,738Oct 13, 2026Updated 3 weeks ago
- perhaps the best CORS middleware library for Goβ227Oct 28, 2026Updated last week
- 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 last week
- A simple logging interface for Goβ1,408Updated this week
- π¨ slog: Attribute formattingβ228Nov 1, 2026Updated last week
- Tool for analyzing behavior change risk in golang module updatesβ16Oct 19, 2026Updated 3 weeks ago
- Golang linter checks for receiver type consistencyβ16Updated this week
- SQL query builder and ORM/Factory generator for Go with support for PostgreSQL, MySQL and SQLiteβ1,801Updated 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.β307Jun 14, 2025Updated last year
- Regular Expression Researchβ12Jul 6, 2022Updated 4 years ago
- GPU virtual machines on DigitalOcean Gradient AI β’ AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Go error library with error portability over the networkβ2,482Updated this week
- Elegant and powerful Go enums with zero code generationβ43Jan 2, 2025Updated last year
- Sync files with an upstream versionβ13Jul 23, 2026Updated 3 months ago
- Zero-effort, concise configuration management that avoids boilerplate and repetitive actions.β200Jul 19, 2026Updated 3 months ago
- Fast and customizable object pool, ideal for workloads that want to create less memory.β33Mar 28, 2026Updated 7 months ago
- Analyzer: fourcetypeassert finds type assertions which did forcelyβ49Feb 13, 2025Updated last year
- FlashFlags is an ultra-fast, zero-dependency, lock-free command-line flag parsing library for Go. Originally built for Argus, it providesβ¦β12Sep 20, 2026Updated last month
Are these results useful?