public static Logger getInstance(String name) { if (instance == null) instance = new LoggerSlimevoidLib(); instance.setName(name); return instance; }
void openFile() { logFile = new Logger(); logFile.setEchoEvery(0); logFile.setPath(path); logFile.setName(rootname + "_params"); logFile.setExt(".xml"); logFile.openFile(); logFile.write("<DSPS>"); System.out.println("Writing xml parameters to " + logFile.path + logFile.name + logFile.ext); }