NOTE(touts); This is NOT the function called by the Python code. Python calls WriteSerializedEvent(), see events_writer.i.
| 116 | // NOTE(touts); This is NOT the function called by the Python code. |
| 117 | // Python calls WriteSerializedEvent(), see events_writer.i. |
| 118 | void EventsWriter::WriteEvent(const Event& event) { |
| 119 | string record; |
| 120 | event.AppendToString(&record); |
| 121 | WriteSerializedEvent(record); |
| 122 | } |
| 123 | |
| 124 | Status EventsWriter::Flush() { |
| 125 | if (num_outstanding_events_ == 0) return Status::OK(); |
no outgoing calls