How do I program 9-DOF sensor write data to a log file? (Adafruit ICM20948 running on Adafruit Feather M4 Express)

I've ordered a datalogger chip and it should be here tomorrow. I didn't know you needed one to log data, I thought you could use the system flash