Adds a trace to the buffer.
Returns true if buffer should be flushed.
bool addTrace(Trace trace) { _traces.add(trace); return _shouldFlush(); }