code: protected static Event.Level getLevel(Level level) {
          if (level.intValue() >= Level.SEVERE.intValue()) {
              return Event.Level.ERROR;
          } else if (level.intValue() >= Level.WARNING.intValue()) {
              return Event.Level.WARNING;
          } else if (level.intValue() >= Level.INFO.intValue()) {
              return Event.Level.INFO;
          } else if (level.intValue() >= Level.ALL.intValue()) {
              return Event.Level.DEBUG;
          } else {
              return null;
          }
      }
docs: Transforms a {@link Level} into an {@link Event.Level}.
  
  @param level original level as defined in JUL.
  @return log level used within sentry.