public synchronized static Logger getLogger(){
		if(logger == null){
			logger = Logger.getLogger("Hedgehog-logger");
			
			try {
				FileHandler fh = new FileHandler("HedgehogPhoto.log", 10000, 1, false);
				fh.setFormatter(new EasyFormatter());
				logger.addHandler(fh);
			} catch (Exception e) {
				e.printStackTrace();
			}
			
			logger.setLevel(Level.ALL);
			logger.setUseParentHandlers(false);
		}
	
		return logger;
	}