slog-rs/slog
Structured, contextual, extensible, composable logging for Rust observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 85
- Release rhythm 51
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 2.5
- age_days: 3734
- days_rel: 326
- days_push: 94
- n_releases_24m: 3
Adoption not part of the score
1708 stars · 99 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
slog is an ecosystem of reusable components for structured, contextual, extensible, and composable logging in Rust. It is a mature, battle-tested library that offers more features than the standard log crate, though the README now recommends considering the tracing crate for new projects.
Use cases
- add structured logging to a Rust application
- create hierarchical contextual loggers with key-value pairs
- log with high performance in a non-async Rust project
- compose custom logging drains and formats
- replace the standard log crate with richer logging features
When to choose
- you need mature, stable code and API
- async-specific logging support doesn't benefit you
- you need features tracing is missing
- you want very good logging performance
When to avoid
- you are starting a new async-heavy Rust project (tracing is the go-to)
- you want the largest community and dev team
- you want a simple logging setup with a shallow learning curve
Facets
library · maturity maintenance
logging developer-tools backend rust cross-platform structured-logging hierarchical-loggers contextual-logging rust-ecosystem
3 sources
- readme: https://github.com/slog-rs/slog · fetched 2026-08-28 · f186f4354e20
- homepage: https://slog.rs/ · fetched 2026-08-29 · 09190b734d21
- registry_crates: https://crates.io/api/v1/crates/slog · fetched 2026-08-29 · 514f0741a919
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| slog-rs/slog | main | 76 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem