log_for_multitask

sofia_redux.toolkit.utilities.multiprocessing.log_for_multitask(logger)[source]

Context manager to output log messages during multiprocessing.

Stores all log messages during multiprocessing, and emits them using the given logger once complete.

Parameters:
loggerlogging.Logger
Yields:
None