code: def getLogger(name):
      ''' Create and return a logger with the specified name. '''
  
      # Create logger and add a default NULL handler
      log = logging.getLogger(name)
      log.addHandler(_NullHandler())
  
      return lof getLogger(name):
      ''' Create and return a logger with the specified name. '''
  
      # Create logger and add a default NULL handler
      log = logging.getLogger(name)
      log.addHandler(_NullHandler())
  
      return log
docs: Create and return a logger with the specified name.