recordTrace static method

void recordTrace(
  1. BloomNetworkTrace trace
)

Records a new network trace into the inspector buffer.

Implementation

static void recordTrace(BloomNetworkTrace trace) {
  _traces.add(trace);
  // Keep max 200 traces
  if (_traces.length > 200) {
    _traces.removeAt(0);
  }
}