示例#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);
 }