summaryrefslogtreecommitdiffstats
path: root/src/logger/Logger.java
blob: e6d76381713727bc4a88bf1e55250020c15a7be1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);
	}


}