No, even if your WiFi network has failed, the device will continue logging at the sample rate that you have set. When your WiFi network is restored, the device will automatically synchronise data to the Cloud. No data is lost.