private String toStringWithWarning() {
		StringBuilder output = new StringBuilder();
		if (count > maxSize) {
			output.append("There were too many messages to display.\n");
			output.append((count - maxSize)).append(" messages have been truncated.\n");
			output.append('\n');
		}

		for (String s : messages) {
			output.append(s).append('\n');
		}
		return output.toString();
	}
Writes this log's contents to the application log
@param owner the owning class whose name will appear in the log message
@param messageHeader the message header that will appear before the log messages
Ghidra/Framework/Generic/src/main/java/ghidra/app/util/importer/MessageLog.java