Ross ROSS = Recommend OSS · open-source software intelligence for agents

rust-lang/log

Logging implementation for Rust observed · 2026-08-28

github.com/rust-lang/log · homepage · Rust · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

95/100

  • Activity 99
  • Release rhythm 87
  • 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: 31
  • age_days: 4281
  • days_rel: 11
  • days_push: 11
  • n_releases_24m: 12

Full methodology

Adoption not part of the score

2544 stars · 287 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

The `log` crate is a lightweight logging facade for Rust that provides a single logging API abstracting over actual logging implementations. Libraries emit log messages via macros like `error!`, `warn!`, `info!`, `debug!`, and `trace!`, while executables choose a compatible logger implementation to produce output.

Use cases

  • add logging to a Rust library without forcing a logger implementation
  • emit structured log messages with levels and targets in Rust code
  • swap logging backends like env_logger or log4rs without changing library code
  • filter log output by level in Rust applications
  • add key-value structured logging to Rust services

When to choose

  • you are writing a Rust library that needs logging without a hard dependency on a specific logger
  • you want the de facto standard logging API for the Rust ecosystem
  • you need near-zero overhead when no logger is installed

When to avoid

  • you need a ready-made logger with output formatting - pair this crate with an implementation like env_logger or log4rs
  • you are not writing Rust code

Facets

library · maturity stable

logging developer-tools backend cross-platform rust logging-facade rust-crate structured-logging

10 sources

Member repositories

RepositoryRoleHealth v2
rust-lang/logmain95

For agents

markdown · JSON · MCP: product_card(name="rust-lang/log")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem