kedro.logging.RichHandler

class kedro.logging.RichHandler(*args, **kwargs)[source]

Identical to rich’s logging handler but with a few extra behaviours: * warnings issued by the warnings module are redirected to logging * pretty printing is enabled on the Python REPL (including IPython and Jupyter) * all tracebacks are handled by rich when rich_tracebacks=True * constructor’s arguments are mapped and passed to rich.traceback.install

The list of available options of RichHandler can be found here: https://rich.readthedocs.io/en/stable/reference/logging.html#rich.logging.RichHandler

The list of available options of rich.traceback.install can be found here: https://rich.readthedocs.io/en/stable/reference/traceback.html#rich.traceback.install