public static String format(Location location, CharSequence message) {
		StringBuilder sb = new StringBuilder();
		if (location != null) {
			sb.append(location).append(": ");
		}
		sb.append(message);
		return sb.toString().trim();
	}
Format a log message.

@param location Referenced file location
@param message Message
@return Formatted string with location prepended to message.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/pcode/utils/MessageFormattingUtils.java