org.slf4j.Logger的简单封装,传入所在类的class,和类名或全类名.
public class LoggerFactory { public static Logger getLogger(Class clz, String type){ return org.slf4j.LoggerFactory.getLogger(clz); } }
org.slf4j.Logger的简单封装,传入所在类的class,和类名或全类名.
public class LoggerFactory { public static Logger getLogger(Class clz, String type){ return org.slf4j.LoggerFactory.getLogger(clz); } }