code: private LogRecord createLogRecord(Level level, String msg, Object[] params, String sourceClassName, String sourceMethodName, String resourceBundleName, Throwable thrown) {
  
          ResourceBundle resourceBundle = null;
          if (level.intValue() >= this.ivMinimumLocalizationLevelIntValue) {
              if (null == this.ivCachedResourceBundle) {
                  this.ivCachedResourceBundle = super.getResourceBundle();
                  this.ivCachedResourceBundleName = super.getResourceBundleName();
              }
              // if resourceBundleName not set by caller, look it up from logger
              // (and logger's parents if needed).
              if (resourceBundleName == null) {
                  resourceBundleName = computeResourceBundleName();
              }
  
              // get the resourceBundle
              if (resourceBundleName != null) {
                  if (resourceBundleName.equals(this.ivCachedResourceBundleName)) {
                      resourceBundle = this.ivCachedResourceBundle;
                  } else {
                      resourceBundle = getResourceBundle(resourceBundleName);
                  }
              }
              if (null == resourceBundle && null != sourceClassName) {
                  try {
                      Class<?> source = Class.forName(sourceClassName);
                      resourceBundle = ResourceBundle.getBundle(resourceBundleName, Locale.getDefault(), source.getClassLoader());
                  } catch (Throwable t) {
                      // unable to find the resource bundle
                  }
              }
          }
  
          return createWsLogRecord(level, msg, params, sourceClassName, sourceMethodName, resourceBundleName, resourceBundle, thrown);
      }
docs: Creates a LogRecord using any available input parameters from the various
  Logger methods.
  
  @param level
  @param msg
  @param params
  @param sourceClassName
  @param sourceMethodName
  @param resourceBundleName
  @param thrown
  @return LogRecord