# log

> A lightweight logging facade for Rust

Source: https://talira.ai/catalog/log-2vy1r7xr
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [observability / logging](https://talira.ai/categories/observability/logging), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: MIT OR Apache-2.0[^1][^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [The Rust Project](https://talira.ai/orgs/rust-project.md)

log is the [Rust](https://talira.ai/catalog/rust-mf51vs5t.md) project's lightweight logging facade: one logging API (the error!, warn!, info!, debug! and trace! macros) that libraries call, while the executable picks the logger implementation that writes the output, such as env_logger, simple_logger or a system logger. With no logger set, log calls do nothing. It lives in the rust-lang organization on GitHub.

## Links

- GitHub: https://github.com/rust-lang/log
- Docs: https://docs.rs/log

## Problems it solves

- log from my Rust library without choosing a logger for the app that uses it
- add logging macros to a Rust crate
- let a Rust binary choose how its dependencies' log messages are written
- a standard logging API for Rust

## Features

- error!, warn!, info!, debug! and trace! macros
- libraries log, executables choose the logger
- many logger implementations, env_logger among them
- no-op when no logger is set

## Trust

Overall: 0.27 out of 1.
Signals: backing 0.30, extensibility 0.00.

- backed by The Rust Project

Warnings:

- GitHub activity not fetched yet

## Sources

[^1]: https://github.com/rust-lang/log/blob/main/LICENSE-MIT (checked 23 Nov 2026)
[^2]: https://github.com/rust-lang/log/blob/main/LICENSE-APACHE (checked 23 Nov 2026)
