}
if (locationInfo) {
CallerData[] callerDataArray = event.getCallerData();
if (callerDataArray != null && callerDataArray.length > 0) {
CallerData immediateCallerData = callerDataArray[0];
buf.append(" <log4j:locationInfo class=\"");
buf.append(immediateCallerData.getClassName());
buf.append("\"\r\n");
buf.append(" method=\"");
buf.append(Transform.escapeTags(immediateCallerData.getMethodName()));
buf.append("\" file=\"");
buf.append(immediateCallerData.getFileName());
buf.append("\" line=\"");
buf.append(immediateCallerData.getLineNumber());
buf.append("\"/>\r\n");
}
}
/*