code: protected String formatBrokerStatsLogLine(ActiveMQBrokerStats brokerStats) {
          StringBuilder buffer = new StringBuilder();
  
          buffer.append("|broker-stats|");
          buffer.append(encodeLogStatString(brokerStats.getBrokerName()));
          buffer.append("|");
          buffer.append(brokerStats.getAverageMessageSize());
          buffer.append("|");
          buffer.append(encodeLogStatString(brokerStats.getUptime()));
          buffer.append("|");
          buffer.append(brokerStats.getUptimeMillis());
          buffer.append("|");
          buffer.append(brokerStats.getMemoryLimit());
          buffer.append("|");
          buffer.append(brokerStats.getMemoryPercentUsage());
          buffer.append("|");
          buffer.append(brokerStats.getCurrentConnectionsCount());
          buffer.append("|");
          buffer.append(brokerStats.getTotalConsumerCount());
          buffer.append("|");
          buffer.append(brokerStats.getTotalMessageCount());
          buffer.append("|");
          buffer.append(brokerStats.getTotalEnqueueCount());
          buffer.append("|");
          buffer.append(brokerStats.getTotalDequeueCount());
          buffer.append("|");
          buffer.append(brokerStats.getStorePercentUsage());
          buffer.append("|");
  
          return buffer.toString();
      }
docs: FIELDS:<br>
  <ul>
  <li>"broker-stats"</li>
  <li>broker-name</li>
  <li>average-message-size</li>
  <li>uptime-string</li>
  <li>uptime-millis</li>
  <li>memory-limit</li>
  <li>memory-percent-usage</li>
  <li>current-connection-count</li>
  <li>total-consumer-count</li>
  <li>total-message-count</li>
  <li>total-enqueue-count</li>
  <li>total-dequeue-count</li>
  <li>store-percent-usage</li>
  </ul>
  @param brokerStats
  @return