public void writeToLogFile()

in azure-documentdb-benchmark/src/main/java/com/microsoft/azure/documentdb/benchmark/SimpleTests.java [244:256]


        public void writeToLogFile() {
            if (!this.enabled || sb.length() == 0) {
               return;
            }
            try {
                FileWriter writer = new FileWriter(String.format("%s-batch%03d.log", logFilePath, batchId));
                batchId++;
                writer.write(sb.toString());
                writer.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }