You can use the Open Source uTasker project with the KL25 - it has various embedded file systems that allow logging in internal or external SPI flash. It also allows linear logged data to be visible to a USB-MSD host as a disk and its data content formatted for various PC application compatibility. All operation can be simulated in Visual Studio for rapid development, debugging and code coverage reviews.