software/test/performance/src/org/LexGrid/LexBIG/util/Util.java
/**
	 * Displays a message to the console, with additional
	 * tagging to assist servicability.
	 * @param message The message to display.
	 * @param cause Optional error associated with the message.
	 * @param logID Optional identifier as registered in the LexBIG logs.
	 */
Displays a message to the console, with additional
tagging to assist servicability.
@param message The message to display.
@param cause Optional error associated with the message.
@param logID Optional identifier as registered in the LexBIG logs.
Displays a message to the console with additional tagging to assist servicability . @param message The message to display . @param cause Optional error associated with the message . @param logID Optional identifier as registered in the LexBIG logs .
public static  void displayTaggedMessage(String message, Throwable cause, String logID) {
		StringBuffer sb = new StringBuffer("[LB] ").append(message);
		if (cause != null) {
			String causeMsg = cause.getMessage();
			if (causeMsg != null && !causeMsg.equals(message)) {
				sb.append(_lineReturn).append("\t*** Cause: ").append(causeMsg);
			}
		}
		if (logID != null) {
			sb.append(_lineReturn).append("\t*** Refer to message with ID = ").append(logID).append(" in the log file.");
		}
		displayMessage(sb.toString());
	}
public static void displayTaggedMessage ( String message , Throwable cause , String logID ) { StringBuffer sb = new StringBuffer ( "[LB] " ) . append ( message ) ; if ( cause != null ) { String causeMsg = cause . getMessage ( ) ; if ( causeMsg != null && ! causeMsg . equals ( message ) ) { sb . append ( _lineReturn ) . append ( "\t*** Cause: " ) . append ( causeMsg ) ; } } if ( logID != null ) { sb . append ( _lineReturn ) . append ( "\t*** Refer to message with ID = " ) . append ( logID ) . append ( " in the log file." ) ; } displayMessage ( sb . toString ( ) ) ; }
Displays a message to the console, with additional
 tagging to assist servicability.
Displays a message to the console with additional tagging to assist servicability .