kedro.logging

Description

This module contains a logging handler class which produces coloured logs and tracebacks.

Classes

RichHandler(*args, **kwargs)

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