code: public static void warnFormatted(final String text, final Object... parameterArray) {
          final String formattedText = String.format(text, parameterArray);
  
          logWriterInstance.warn(formattedText);
  
          UaiWebSocketLogManager.addLogText("[WARN] " + formattedText);
      }
docs: Wil log a text with the WARN level. The text with be formatted using the String.format(...)