code: def getLogger(name="anyconfig"):
      
      logger = logging.getLogger(name)
      logger.addHandler(anyconfig.compat.NullHandler())
  
      return logger
docs: See: "Configuring Logging for a Library" in python standard logging howto,
      e.g. https://docs.python.org/2/howto/logging.html#library-config.