code: public void warn(final String message) {
          messages.add(new LogMessage(message, LogMessage.Type.WARN));
          log.warn(message);
      }
docs: Write a warn message to the logs
  
  @param message The warning message