Skip to content

Commit

Permalink
feat: add log
Browse files Browse the repository at this point in the history
  • Loading branch information
furkan-bilgin committed Oct 12, 2024
1 parent b2a2f86 commit c53c0ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/daq/store/csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ def store_loop(self):
if len(rows_to_write) > 0:
total_rows_to_write += len(rows_to_write)
writer.writerows(rows_to_write)
self._logger.debug(
f"Wrote {len(rows_to_write)} rows to '{file.file.name}'"
)

# Flush if the flush time is up
if self._flush(file):
Expand Down

0 comments on commit c53c0ad

Please sign in to comment.