Пример #1
0
 public static void reset() {
   if (logger != null) logger.removeLog();
 }
Пример #2
0
 public static void log(String data) {
   isWritten = false;
   if (logger == null) logger = new Log("log.log");
   logger.writeToLog(data);
 }