summaryrefslogblamecommitdiffstats
path: root/src/logger/Logger.java
blob: e6d76381713727bc4a88bf1e55250020c15a7be1 (plain) (tree)























                                                                             
package logger;

import java.util.logging.Level;


public class Logger  {
	
	public void debug(String text){	
		java.util.logging.Logger.getGlobal().log(Level.FINEST,text);
		System.out.println(text);
	}
		
	public void log(Level level,String text){	
		java.util.logging.Logger.getGlobal().log(level,text);
	}	

	public void info(String text, IllegalArgumentException e) {
		java.util.logging.Logger.getGlobal().log(Level.INFO,text);
	}


}