Skip to content

Add 'force' option to configure_logging

This MR adds a force=False keyword argument to the configure_logging function, and modifies the behaviour to exit early if an existing logging configuration has already been created.

This allows users to use the 'COLOREDLOGS_AUTO_INSTALL' environment variable to trigger logging without the -v/--verbose option getting in the way.

Merge request reports

Loading