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 ; }
Creates a new Logger .