take
Returns a snapshot of the current buffer and clears it.
The returned TraceSlice.rollback reinserts the snapshot at the front of the buffer, preserving original ordering.
Returns a snapshot of the current buffer and clears it.
The returned TraceSlice.rollback reinserts the snapshot at the front of the buffer, preserving original ordering.