code: @Override
  	public void publish(LogRecord record) {
  		if (!isLoggable(record)) {
  			return;
  		}
  		synchronized (messages) {
  			messages.addLast(record);
  			messages.notifyAll();
  		}
  	}
docs: --- ADD TO QUEUE ---