public static Level forName(final String name, final int intValue) {
        final Level level = LEVELS.get(name);
        if (level != null) {
            return level;
        }
        try {
            return new Level(name, intValue);
        } catch (final IllegalStateException ex) {
            // The level was added by something else so just return that one.
            return LEVELS.get(name);
        }
    }
public static Level forName ( final String name , final int intValue ) { final Level level = LEVELS . get ( name ) ; if ( level != null ) { return level ; } try { return new Level ( name , intValue ) ; } catch ( final IllegalStateException ex ) { return LEVELS . get ( name ) ; } }
Retrieves an existing Level or creates on if it didn't previously exist.

@param name The name of the level.
@param intValue The integer value for the Level. If the level was previously created this value is ignored.
@return The Level.
@throws java.lang.IllegalArgumentException if the name is null or intValue is less than zero.