implemented specially created function (dataLogStringGenerator) in logDataOnSD