csv_logger.log_data: default value of log_df causes failure
Failing to assign a value to log_df causes the function to return None by default, and do nothing else. It would be better for log_df to be a required parameter.
Failing to assign a value to log_df causes the function to return None by default, and do nothing else. It would be better for log_df to be a required parameter.