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

The Sparkfun OpenLog automatically logs anything that is emitted by Serial.print().

Cheap and effortless, no programming required!