private static final Log log = LogFactory.getLog(DataSourceManager.class); 它的作用?
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/21 03:02:24
privatestaticfinalLoglog=LogFactory.getLog(DataSourceManager.class);它的作用?privatestaticfinalLoglog=Lo
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型的对象