code: def getLogger(name=None):
      
  
      if name:
          logger = SLogger.manager.getLogger(name)
          return logger
      else:
          return rootLogger
docs: Return a logger with the specified name, creating it if necessary.
  
      If no name is specified, return the root logger.