Skip to main content

Module logging

Module logging 

Source
Expand description

RichHandler for the log crate — colored log levels with file/line info. Logging integration — equivalent to Rich’s logging.py.

Provides a log handler that renders log records with Rich formatting.

Structs§

RichHandler
A handler that renders Python-style log records with Rich formatting.

Functions§

install
Convenience: install a Rich logger.
style_level
Style a log level name.