Expand description
Rendering log records.
Rust-native reimagining of rich/_log_render.py + rich/logging.py.
Upstream integrates with Python’s logging; LogRender instead formats a
single log record — an optional time, a severity-colored level, the message,
and an optional source path — into a styled line, using the same column
styles (log.time, logging.level.*, log.path).
The formatter takes a LogLevel enum + strings rather than depending on the
log/tracing crates, keeping the core dependency-light. Wiring it into a
log::Log handler is a rich-ext follow-up. See docs/DIVERGENCES.md #19.
Structs§
- LogRender
- A single formatted log record. Mirrors the role of
rich._log_render.LogRenderfor one row.
Enums§
- LogLevel
- Log severity, mirroring the
logcrate’s five levels.