public static void reset() { if (logger != null) logger.removeLog(); }
public static void log(String data) { isWritten = false; if (logger == null) logger = new Log("log.log"); logger.writeToLog(data); }