private static final Log log = LogFactory.getLog(DataSourceManager.class); 它的作用?
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 06:27:58
private static final Log log = LogFactory.getLog(DataSourceManager.class); 它的作用?
private static final Log log = LogFactory.getLog(DataSourceManager.class); 它的作用?
private static final Log log = LogFactory.getLog(DataSourceManager.class); 它的作用?
private static final Log log 是定义一个Log型的常量
LogFactory.getLog(DataSourceManager.class);这个方法会返回一个Log型的对象