code: private int convertLevel(final JRLevel level) {
          int logbackLevel = 0;
          switch (level) {
              case Trace:
                  logbackLevel = LocationAwareLogger.TRACE_INT;
                  break;
              case Debug:
                  logbackLevel = LocationAwareLogger.DEBUG_INT;
                  break;
              case Warn:
                  logbackLevel = LocationAwareLogger.WARN_INT;
                  break;
              case Error:
                  logbackLevel = LocationAwareLogger.ERROR_INT;
                  break;
              case Info:
                  logbackLevel = LocationAwareLogger.INFO_INT;
                  break;
              default:
                  break;
          }
          return logbackLevel;
      }
docs: Convert JRebirth LogLevel to Logback one.
  
  @param level the JRebirth log level to convert
  
  @return the logback log level