initialize_mp_handler

despasito.utils.parallelization.initialize_mp_handler

initialize_mp_handler(level, logformat)[source]

Wraps the handlers in the given Logger with an MultiProcessingHandler.

Parameters:
  • level (int) – The verbosity level of logging information can be set to any supported representation of the logging level .

  • logformat (str) – Formating of logging information can be set to any supported representation of the formatting class .