blob: b5361549d3eceb9b89b916f2dc16befe25480c37 (
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 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);
}
}
|