APISonar


org.anjocaido.groupmanager.GroupManager.logger.log

> org > anjocaido > groupmanager > GroupManager > logger > log
org APIs anjocaido APIs groupmanager APIs GroupManager APIs logger APIs log APIs

Example 1
private void backupFile(OverloadedWorldHolder w, Boolean groups) {

		File backupFile = new File(plugin.getBackupFolder(), "bkp_" + w.getName() + (groups ? "_g_" : "_u_") + Tasks.getDateString() + ".yml");
		try {
			Tasks.copy((groups ? w.getGroupsFile() : w.getUsersFile()), backupFile);
		} catch (IOException ex) {
			GroupManager.logger.log(Level.SEVERE, null, ex);
		}
	}