ReadonlybatchesEvery batch passed to export, as received.
Readonlygzipgzip flag of every export call.
ReadonlyrecordsRecords accepted so far, in export order.
Makes the next export calls throw error (times calls, default 1).
Forgets stored records, batches and scripted outcomes.
Makes the next export call return a custom result (records are not stored).
In-memory LogExporter: stores every exported record (round-tripped through the normalized JSON form, like a real wire) and can script failures.