The LogBuilder class allows for creating ad-hoc collections of records through the add<...>(...) function. An example use of this API is in crafting arbitrary sequences of records:
Declared in <llvm/XRay/FDRLogBuilder.h>
class LogBuilder;
auto Records = LogBuilder() .add<BufferExtents>(256) .add<NewBufferRecord>(1) .consume();
| Name |
|---|
add |
consume |