docs: private void log(Level lv, String msg, Throwable e) {
          if (logger.isLoggable(lv)) {
              LogRecord r = new LogRecord(lv, msg);
              r.setThrown(e);
  
              // find the nearest ancestor that doesn't belong to JDKLogImpl
              for (StackTraceElement frame : new Exception().getStackTrace()) {
                  if (!frame.getClassName().equals(THIS_CLASS_NAME)) {
                      r.setSourceClassName(frame.getClassName());
                      r.setSourceMethodName(frame.getMethodName());
                      break;
                  }
              }
  
              logger.log(r);
          }
      }