code: public static Logger getLogger(final Class<?> clazz) {
          if (!clazz.getPackage().getName().startsWith(LOGGER.getName())) {
              throw new IllegalArgumentException(String.format("Class %s is not a child of the package %s",
                      clazz.getName(), LOGGER.getName()));
          }
          LOGGER.fine(() -> String.format("Locating logger for class %s", clazz));
          return Logger.getLogger(clazz.getName());
      }
docs: Simple wrapper that forces initialization of the package-level LOGGER
  instance.
  
  @param clazz
  The class to be logged.
  @return A Logger using the name of the class as its hierarchy.