Skip to content

rs_rich.logging

Generated from the type stubs by scripts/gen_python_api.py; do not edit.

rich.logging: RichHandler.

RichHandler

Bases: Handler

KEYWORDS instance-attribute

KEYWORDS: Optional[List[str]]

HIGHLIGHTER_CLASS instance-attribute

HIGHLIGHTER_CLASS: Optional[type]

console instance-attribute

console: Console

highlighter instance-attribute

highlighter: Any

markup instance-attribute

markup: bool
enable_link_path: bool

rich_tracebacks instance-attribute

rich_tracebacks: bool

keywords instance-attribute

keywords: Optional[List[str]]

get_level_text

get_level_text(record: LogRecord) -> Text

emit

emit(record: LogRecord) -> None

render_message

render_message(record: LogRecord, message: str) -> Any

render

render(*, record: LogRecord, traceback: Any, message_renderable: Any) -> Any