if (csvLogger != null) { csvWriter.logToExcelOutput(myPG, aCycleStamp); }
if (csvLogger != null) { csvWriter.logToExcelOutput(myPG, aCycleStamp);
    public void logAllToCSVFile(long aCycleStamp) {        if (csvLogger != null) {            csvWriter.logToExcelOutput(myPG,                                       aCycleStamp);        }    }