def _getLogger(cls, logLevel=None):
 logger = logging.getLogger('.'.join(['com.numenta', _MODULE_NAME, cls.__name__]))
 if (logLevel is not None):
  logger.setLevel(logLevel)
 return logger

def _getLogger ( cls , logLevel = None ) : logger = logging . getLogger ( '.' . join ( [ 'com.numenta' , _MODULE_NAME , cls . __name__ ] ) ) if ( logLevel is not None ) : logger . setLevel ( logLevel ) return logger
gets a logger for the given class in this module .