private void inferCaller()

in log4j-api-to-jul/src/main/java/org/apache/logging/log4j/tojul/LazyLog4jLogRecord.java [56:69]


    private void inferCaller() {
        StackTraceElement location = null;
        if (fqcn != null) {
            location = StackLocatorUtil.calcLocation(fqcn);
        }
        if (location != null) {
            setSourceClassName(location.getClassName());
            setSourceMethodName(location.getMethodName());
        } else {
            setSourceClassName(null);
            setSourceMethodName(null);
        }
        inferCaller = false;
    }