> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracelit.io/llms.txt
> Use this file to discover all available pages before exploring further.

# log

> Rust log crate → Tracelit via OpenTelemetry.

Bridge the `log` facade to OpenTelemetry (or via `tracing`). Prefer the [tracing](/otel/rust/tracing) path when possible.

```rust theme={null}
log::info!("order listed count={}", 3);
log::error!("payment failed: {}", err);
```
