code: public static Logger createLogger(final LoggerType type,
  			final String consumerName)
  		throws LoggingException
  	{
  
  		Logger log = new Logger(type, consumerName);
  		if (consumerLoggingIndex.put(consumerName, log) != null) {
  			throw ErrorFactory
  					.createLoggingException(ErrorKeys.LOGGING_LOGGINGFACTORY_LOGGER_ALREADY_EXIST);
  		}
  
  		return log;
  	}
docs: Creates a new Logger.
  
  @param consumerName
  Consumer Name
  @return The referenced Logger
  
  @throws LoggingException