code: public static int getLevelIntCode(final String aLogLevelName) {
          final String levelName = aLogLevelName.trim().toLowerCase(Locale.US);
  
          if ("error".equals(levelName)) {
              return ERROR_LOG_LEVEL;
          } else if ("warn".equals(levelName)) {
              return WARN_LOG_LEVEL;
          } else if ("info".equals(levelName)) {
              return INFO_LOG_LEVEL;
          } else if ("debug".equals(levelName)) {
              return DEBUG_LOG_LEVEL;
          } else if ("trace".equals(levelName)) {
              return TRACE_LOG_LEVEL;
          } else {
              return 0;
          }
      }
docs: Returns the int of the supplied log level or zero if the supplied name doesn't match a known log level.
  
  @param aLogLevelName The name (error, warn, info, debug, or trace) of a logging level
  @return The int code of the supplied level or zero if the supplied name doesn't correspond to a known level