code: private void log(final String message) {
      if (this.optionalParams.isPresent()) {
        logger.log(logLevel, message, params);
      } else {
        logger.log(logLevel, message);
      }
    }
docs: Log message.
  @param message