final private void fillCallerData(String callerFQCN, LogRecord record) {
        StackTraceElement[] steArray = new Throwable().getStackTrace();

        int furthestIndex = findFurthestIndex(callerFQCN, steArray);

        if (furthestIndex != NOT_FOUND) {
            int found = furthestIndex+1;
            StackTraceElement ste = steArray[found];
            // setting the class name has the side effect of setting
            // the needToInferCaller variable to false.
            record.setSourceClassName(ste.getClassName());
            record.setSourceMethodName(ste.getMethodName());
        }
    }
Fill in caller data if possible.

@param record The record to update
slf4j-jdk14/src/main/java/org/slf4j/jul/JDK14LoggerAdapter.java