utils.logging¶
Logging utilities, building on top of the python logging module.
-
ximpol.utils.logging_.
abort
(message='')[source]¶ Abort the execution (via a sys.exit) with a message.
Use this with care, and opt for custom exceptions whenever possible.
-
ximpol.utils.logging_.
suppress_logging
()[source]¶ Set the logging level to critical.
This can be imported, e.g., in the unit tests are running in background and don’t need logging.