private String getHighestLevelMethodNameToIgnore(String stackString) {

		String cutoffName = EMPTY_STRING;
		int bestIndex = -1;

		// 1) see if we are using a system messaging service
		int index = stackString.indexOf(TOOL_MESSAGE_SERVICE_CLASSNAME);
		if (index >= 0) {
			// assumption: this call to the Messaging 
			bestIndex = index;
			cutoffName = TOOL_MESSAGE_SERVICE_CLASSNAME;
		}

		// 2) ignore any homegrown printing methods (like those found in scripting)
		for (MethodPattern excludePattern : KNOWN_IGNORE_METHODS) {
			String pattern = excludePattern.getMethodPattern();
			index = stackString.indexOf(pattern);
			if (index < 0 || index < bestIndex) {
				continue;
			}

			bestIndex = index;
			cutoffName = excludePattern.getMethodName();
		}

		return cutoffName;
	}
Appends the desired hyperlink to the existing event message.

@param event the current log event
@param toAppendTo the string to append to
Ghidra/Framework/Generic/src/main/java/log/Log4jDevelopmentPatternConverter.java