Skip to content

Rotating CSV Files With Header #700

Answered by odygrd
TheMint asked this question in Q&A

You must be logged in to vote

Hey, thanks for reporting.

There is a CsvWriter constructor that accepts std::shared_ptr<Sink> but the header is written only for the first file and not for the new ones.

I have made a PR for master that implements new functionality to add the header for each rotated file
#701

please have a look

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@TheMint

Answer selected by TheMint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants