public void startup(String message, Object... params) {
    notNull(message, "Invalid message '" + message + "' specified");
    notNull(params, "Invalid params specified");

    String formattedMessage = String.format(message, params);

    StartupStatusListener listener = StartupStatusListenerRegistry.getStartupListener();
    if (listener != null) {
      listener.setStatus(formattedMessage);
    }

    logger.accept(formattedMessage);
  }
Writes both a message and exception to this writer. If a startup listener is registered, the
message will be written to the listener as well to be reported to a user.
geode-core/src/main/java/org/apache/geode/internal/process/StartupStatus.java