summaryrefslogblamecommitdiffstats
path: root/src/main/java/org/uic/barcode/logger/Logger.java
blob: b5361549d3eceb9b89b916f2dc16befe25480c37 (plain) (tree)
1
                                






















                                                                             
package org.uic.barcode.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);
	}


}