rust-cli/env_logger
A logging implementation for `log` which is configured via an environment variable. observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 98
- Release rhythm 78
- 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: 80
- age_days: 3345
- days_rel: 69
- days_push: 13
- n_releases_24m: 6
Adoption not part of the score
1063 stars · 147 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
env_logger is a Rust logging implementation for the `log` crate facade that can be configured via the RUST_LOG environment variable. It is intended for use in executables and tests, providing level filtering, colored output, and flexible builder-based configuration.
Use cases
- add logging to a Rust CLI binary
- control log verbosity with RUST_LOG environment variable
- filter log messages per module with log levels
- see log output when running Rust tests
- configure a logger without a config file
When to choose
- you are building a Rust executable or CLI and need simple, zero-config logging
- you want users to control log levels via an environment variable
- you want a lightweight default logger for the log crate facade
- you need logging in Rust integration or unit tests
When to avoid
- you are writing a library - use the log crate facade instead
- you need structured logging, log shipping, or backends like syslog or OpenTelemetry
- you need async or high-performance logging like tracing or slog
- you need runtime-reconfigurable logging from a file or remote service
Facets
library · maturity stable
logging developer-tools backend rust cross-platform cli log-crate rust-log environment-variable-config stderr-logging command-line
10 sources
- readme: https://github.com/rust-cli/env_logger · fetched 2026-08-28 · 3bfd59ab09fa
- homepage: https://docs.rs/env_logger · fetched 2026-08-29 · f33adf831ad4
- site_page: https://docs.rs/ · fetched 2026-08-29 · 607ae64b9953
- site_page: https://docs.rs/crate/env_logger/latest · fetched 2026-08-29 · 99d266659430
- site_page: https://docs.rs/crate/env_logger/latest/features · fetched 2026-08-29 · 4b0951b38ba5
- site_page: https://docs.rs/about · fetched 2026-08-29 · 29ab7986fbf5
- site_page: https://docs.rs/about/badges · fetched 2026-08-29 · 6588cac258af
- site_page: https://docs.rs/about/builds · fetched 2026-08-29 · 811231ca4680
- site_page: https://docs.rs/about/metadata · fetched 2026-08-29 · 0dcdccb2b2b2
- site_page: https://docs.rs/about/redirections · fetched 2026-08-29 · 1b1efd93105f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rust-cli/env_logger | main | 91 |
For agents
markdown · JSON · MCP: product_card(name="rust-cli/env_logger")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem