writeCSVTo

Write Events from a range to CSV.

@trusted
void
writeCSVTo
(
ERange
ORange
)
(
ERange events
,
ORange output
)
if (
isInputRange!ERange &&
is(ElementType!ERange == Event)
&&
)

Parameters

events ERange

An InputRange of Events to write to CSV.

output ORange

An OutputRange of characters to write to. Example output ranges: Appender!string or std.stdio.File.lockingTextWriter.

No heap memory will be allocated if output does not allocate.

Throws

Whatever (if anything) output throws on failure to write more data to it.

Meta