public void printAsInfo(String message) {
    if (isHeadlessMode) {
      println(message);
    } else {
      logger.info(message);
    }
  }
Set the last command execution status

@param lastExecutionStatus last command execution status
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/shell/Gfsh.java