@@ -0,0 +1,1013 @@
+package com.cc4102.logger;%0A%0Aimport com.cc4102.stringDict.StringDictionary;%0A%0Aimport java.io.BufferedOutputStream;%0Aimport java.io.IOException;%0Aimport java.io.OutputStream;%0Aimport java.nio.file.Files;%0Aimport java.nio.file.Path;%0Aimport java.nio.file.Paths;%0A%0Aimport static java.nio.file.StandardOpenOption.APPEND;%0Aimport static java.nio.file.StandardOpenOption.CREATE;%0A%0Apublic class Logger %7B%0A%0A    private static void log(String s, String fileName) %7B%0A        byte data%5B%5D = s.getBytes();%0A        Path p = Paths.get(%22./%22 + fileName + %22.csv%22);%0A%0A        try (OutputStream out = new BufferedOutputStream(%0A                Files.newOutputStream(p, CREATE, APPEND))) %7B%0A            out.write(data, 0, data.length);%0A        %7D catch (IOException x) %7B%0A            System.err.println(x.toString());%0A        %7D%0A    %7D%0A%0A    static public void logSuccSearch(String classStr, int totalSize, int wordLength, long time) %7B%0A        String s = totalSize + %22,%22 + wordLength + %22,%22 + time + '%5Cn';%0A        log(s, %22succSearch%22 + classStr);%0A    %7D%0A%7D%0A

Add Logger class