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.
β194Aug 1, 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:
- TUI for managing golang-migrate migrationsβ16Jun 6, 2024Updated 2 years ago
- πͺ΅ Ensure consistent code style when using log/slogβ265Updated this week
- The zerolint linter checks usage patterns of pointers to zero-size types in Goβ19May 5, 2026Updated 3 months ago
- A human-friendly (but still largely structured) slog.Handlerβ13Feb 17, 2026Updated 6 months ago
- π₯ Error handling library with context, assertion, stack trace and source fragmentsβ983Aug 1, 2026Updated 2 weeks ago
- End-to-end encrypted cloud storage - Proton Drive β’ AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- detects nested contexts in loops or function literalsβ81Jul 28, 2026Updated 3 weeks ago
- π¦ Rust-like `println!` for Go with Superpowers πβ16Jan 18, 2025Updated last year
- π slog.Handler that writes tinted (colorized) logsβ1,337Jul 12, 2026Updated last month
- Fence-based CAS for Go with read-time validation, validated batch entries, pluggable providers/codecs and shared version state.β68May 28, 2026Updated 2 months ago
- In memory cache with sieve eviction algorithm in pure Go.β64Aug 6, 2026Updated last week
- Π‘hecks that the Structes are created by the Factoryβ15Aug 2, 2026Updated 2 weeks ago
- π¨ Design workflows of slog handlers: pipeline, middleware, fanout, routing, failover, load balancing...β633Aug 1, 2026Updated 2 weeks ago
- Type safe enums for Go without code generation or reflectionβ462Aug 17, 2025Updated last year
- ποΈ Streams & Reactive Programming paradigm for Go: declarative and composable API for event-driven applicationsβ676Aug 10, 2026Updated last week
- Deploy on Railway without the complexity - Free Credits Offer β’ AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- protoc plugin to publish protobuf messages with Watermillβ12May 6, 2026Updated 3 months ago
- High-performance configuration management framework for Go applications with zero-allocation performance, universal format support (JSON,β¦β169Jul 30, 2026Updated 2 weeks ago
- A linter for logr,klog,zap that can also works with golangci-lint as a pluginβ16Apr 10, 2025Updated last year
- Go toolkit for clean, composable, channel-based concurrencyβ1,850Updated this week
- perhaps the best CORS middleware library for Goβ224Jul 27, 2026Updated 3 weeks ago
- Zero-effort, concise configuration management that avoids boilerplate and repetitive actions.β200Jul 19, 2026Updated 3 weeks ago
- Package goldentest makes it easy to build tests that compare outputs from a system under test against version control-managed reference fβ¦β17May 28, 2025Updated last year
- SQL query builder and ORM/Factory generator for Go with support for PostgreSQL, MySQL and SQLiteβ1,772Updated this week
- JSON benchmarks to compare different Go JSON implementationsβ111Sep 6, 2025Updated 11 months 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.
- π¨ slog: Attribute formattingβ225Aug 1, 2026Updated 2 weeks ago
- Tool for analyzing behavior change risk in golang module updatesβ16Aug 11, 2026Updated last week
- A caching library with advanced concurrency features designed to make I/O heavy applications robust and highly performantβ1,280Apr 4, 2025Updated last year
- devslog - Go slog.Handler for developmentβ210Jun 19, 2026Updated last month
- An implementation of a `Nullable` type for JSON bodies, indicating whether the field is absent, set to null, or set to a valueβ137Aug 6, 2026Updated last week
- Fault tolerance and resilience patterns for Goβ2,242Updated this week
- A collection of awesome Mage and Magefile resourcesβ44Nov 19, 2023Updated 2 years ago
- Configure slog log level per-package via an env var.β19Aug 28, 2023Updated 2 years ago
- Regular Expression Researchβ12Jul 6, 2022Updated 4 years 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.
- β26Nov 11, 2025Updated 9 months ago
- Fast and customizable object pool, ideal for workloads that want to create less memory.β33Mar 28, 2026Updated 4 months ago
- A simplified, generic, entity based web library for golang that's drop in compatible with net/httpβ10Jul 14, 2023Updated 3 years ago
- Analyzer: fourcetypeassert finds type assertions which did forcelyβ50Feb 13, 2025Updated last year
- pgxjob provides a job queue implementation using PostgreSQL.β18Aug 16, 2023Updated 3 years ago
- A utility for parsing Common and Combined Log Format (CLF) log files.β32Mar 29, 2025Updated last year
- A Transport for http.Client that will cache responses according to the HTTP RFCβ54Jun 24, 2026Updated last month