code: public static void veryVerbose(Logger log, String format, Object... args) {
          if (log.isLoggable(Level.FINER)) {
              StackTraceElement[] callStack = 
                  Thread.currentThread().getStackTrace();
              // Index 0 is Thread.getStackTrace()
              // Index 1 is this method
              // Index 2 is the caller
              // Index 3 and beyond we don't care about
              StackTraceElement caller = callStack[2];
              String callingClass = caller.getClassName();
              String callingMethod = caller.getMethodName();
              log.logp(Level.FINER, callingClass, callingMethod, 
                       String.format(format, args));
          }
      }
docs: Prints {@link Level#FINE} messages to the provided {@link Logger}.