public static void enableDebug(Class<?> clazz) {
    setLogLevel(clazz.getName(), "DEBUG");
  }
Switches the logger for the given class to DEBUG level.
@param clazz The class for which to switch to debug logging.
hbase-logging/src/main/java/org/apache/hadoop/hbase/logging/Log4jUtils.java