code: public static void logServer(int logLevel, String message, Throwable throwable) {
  		String logMessage = message;
  		if (null == logMessage) {
  			logMessage = "";
  		}
  		if (null != throwable) {
  			logMessage += "\n" + getMessage(throwable);
  		}
  		LogRequest logRequest = new LogRequest();
  		logRequest.setLevel(logLevel);
  		logRequest.setStatement(logMessage);
  		GwtCommand command = new GwtCommand(LogRequest.COMMAND);
  		command.setCommandRequest(logRequest);
  		Deferred deferred = new Deferred();
  		deferred.setLogCommunicationExceptions(false);
  		GwtCommandDispatcher.getInstance().execute(command, deferred);
  	}
docs: Log a message in the server log.
  
  @param logLevel log level
  @param message message to log
  @param throwable exception to include in message