Context manager to output log messages during multiprocessing.
Stores all log messages during multiprocessing, and emits them using the given logger once complete.
log_for_multitask()