package exploitpack;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author jsacco
 */
public class EPLogger {

    public static void log(String log) {

        try (PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter("output/" + "executionlog" + ".eplog", true)))) {
            out.println(log);
        } catch (IOException e) {
            Logger.getLogger(MainFrame.class.getName()).log(Level.SEVERE, null, e);
        }
    }
}
