public void print(String message) {
		// clients using print may add their own newline, which interferes with our logging,
		// so, strip it off
		String strippedMessage = message;
		if (message.endsWith("\r\n")) {
			strippedMessage = message.substring(0, message.length() - 2);
		}
		else if (message.endsWith("\n")) {
			strippedMessage = message.substring(0, message.length() - 1);
		}
		Msg.info(GhidraScript.class, new ScriptMessage(strippedMessage));

		if (writer != null) {
			writer.print(message);
		}
	}
Prints the undecorated message with no newline to this script's {@code stdout} 
{@link PrintWriter}, which is set by {@link #set(GhidraState, ScriptControls)}.
<p>
Additionally, the undecorated message is written to Ghidra's log.

@param message the message to print
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java