docs: public void         add(Type type, String message, Throwable exception)
      {
          String          queueMessage = message;
          if ( (type == Type.ERROR) && (exception != null) )
          {
              queueMessage += " (" + getExceptionMessage(exception) + ")";
          }
  
          if ( type.addToUI() )
          {
              while ( queue.size() > windowSizeLines )  // NOTE: due to concurrency, this may make the queue shorter than MAX - that's OK (and in some cases longer)
              {
                  queue.remove();
              }
              queue.add(new Message(queueMessage, type));
          }
          type.log(message, exception);
      }