code: public Logger getLogger(Class<?> clazz) {
        if (clazz == null) {
           return getGlobalLogger();
        }
        return getLogger(clazz.getName());
     }
docs: Gets the logger for the given class.
  
  @param clazz The class whose logger we want
  @return A logger associated with the given class