function setHealthLogsEnabled(enabled) {
        logHealthData = enabled;
        if (!enabled) {
            clearHealthData();
        }
    }
Enable or disable health data logs
@param {boolean} enabled true to enable health logs