code: def getLogger(name):
      """Get logging.Logger module with additional ``info_on_master`` method."""
      logger = logging.getLogger(name)
      logger.info_on_master = types.MethodType(_info_on_master, logger)
      return logger
  
file_path: audio/examples/source_separation/utils/dist_utils.py
imports: import csv
  import logging
  import os
  import types
  import torch
  import torch.distributed
label_desc: Use image node_id 2 for calling a global function with example usage: getLogger(name) and returns: logger