add helper LoggerUtil method
This commit is contained in:
parent
a17f5e826f
commit
bf0022775d
@ -17,4 +17,8 @@ public class LoggerUtil {
|
|||||||
return new SimpleLogger(name, Level.DEBUG, true, false, true, true, "yyyy-MM-dd HH:mm:ss.SSSZ", null,
|
return new SimpleLogger(name, Level.DEBUG, true, false, true, true, "yyyy-MM-dd HH:mm:ss.SSSZ", null,
|
||||||
new PropertiesUtil(new Properties()), System.out);
|
new PropertiesUtil(new Properties()), System.out);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static Logger getLogger(Class<?> clazz) {
|
||||||
|
return getLogger(clazz.getName());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user