Adafruit MicroSD Breakout

Image courtesy of Adafruit

Use an SD Card shield paired with an appropriately-size SD card to log data from your Arduino.

Buy an SD Card shield from Adafruit.