code: private Level getLevel(final String className) {
  		String key = className;
  		while (true) {
  			Level customLevel = customLevels.get(key);
  			if (customLevel == null) {
  				int index = key.lastIndexOf('.');
  				if (index == -1) {
  					return globalLevel;
  				} else {
  					key = key.substring(0, index);
  				}
  			} else {
  				return customLevel;
  			}
  		}
  	}
docs: Gets the severity level for a class. If there is no custom severity level for the class or one of it's
  (sub-)packages, the global severity level will be returned.
  
  @param className
  Fully-qualified class name
  @return Severity level for given class