FileSink(const FileSink &)=delete
Copy construction is disabled.
FileSink(FileSink &&) noexcept
Move-constructs sink state.
~FileSink() override
Destroys file sink.
std::unique_ptr< Impl > impl_
FileSink & operator=(const FileSink &)=delete
Copy assignment is disabled.
FileSink(std::string filePath)
Constructs a file sink for the given path.
void write(const TraceEvent &event) override
Writes one trace event to the sink.
Sink interface that receives structured trace events.
Structured trace event record.
Trace sink interface for trace event consumers.