structlog_config.warnings#

Warning setup functionality to redirect Python warnings to structlog.

Attributes#

Functions#

redirect_showwarnings()

Redirect Python warnings to use structlog for logging.

Module Contents#

structlog_config.warnings.warning_logger[source]#
structlog_config.warnings.redirect_showwarnings()[source]#

Redirect Python warnings to use structlog for logging.